Decimal Calculator

Use the Decimal Calculator to add, subtract, multiply, or divide two decimal numbers. The calculator treats the digits you enter as exact base-ten values, then shows a readable decimal result together with the exact simplified fraction so repeating answers and rounding are transparent.

Method reviewed by the NumUtility editorial team · Updated August 25, 2026

Calculate with decimals

Decimal result16.25Exact fraction65/4

How to use this decimal calculator

Enter a decimal number in each field and choose Add, Subtract, Multiply, or Divide. Whole numbers, negative values, and up to forty digits are supported. Results update immediately. For division, the second number cannot be zero. An ellipsis marks a decimal expansion that continues beyond the twelve displayed places.

How the calculation works

A decimal represents a fraction whose denominator is a power of ten. For example, 3.75 means 375/100, which simplifies to 15/4. Aligning place values is the familiar written method for addition and subtraction; multiplication and division can be understood by converting both entries to exact fractions.

This calculator parses the entered digits as integers over powers of ten and performs rational arithmetic with whole numbers. That avoids familiar binary floating-point surprises such as displaying 0.1 + 0.2 as a value slightly above 0.3. Repeating decimals are shortened only for display while the fraction remains exact.

Formulas

Addition and subtraction

a/b ± c/d = (ad ± bc) / bd

Multiplication

a/b × c/d = ac / bd

Division

a/b ÷ c/d = ad / bc, where c ≠ 0

Worked examples

Add 12.5 and 3.75

12.5 + 3.75 = 16.25. As an exact fraction, 16.25 = 65/4.

Divide one by three

1 ÷ 3 equals the exact fraction 1/3. Its decimal expansion is 0.333333333333… and therefore cannot terminate.

Common uses

Money and budgets

Add prices, compare decimal rates, divide shared costs, and verify arithmetic without losing the exact base-ten values entered. Apply currency rounding only at the step required by the relevant rule.

Measurements and data

Combine lengths, weights, times, and observations that use decimal notation. Confirm that all values use compatible units and do not report more precision than the source measurements support.

Learning decimal arithmetic

Check place-value work, sign rules, and the relationship between terminating decimals and fractions. The exact fraction can reveal why some division results repeat indefinitely.

Accuracy and limitations

Inputs are converted to exact rational values with BigInt arithmetic, avoiding binary floating-point representation errors. Nonterminating decimal outputs are truncated after twelve places and marked with an ellipsis while the fraction stays exact.

Exact arithmetic cannot improve uncertain source measurements. Money, laboratory work, taxes, and regulated calculations may prescribe a particular rounding method and stage that should override a general display convention.

Frequently asked questions

Why does the calculator also show a fraction?

The simplified fraction preserves the exact value. It is especially useful when division creates a repeating decimal that must be shortened for display.

Can I enter negative decimals?

Yes. Add a minus sign before the number. The ordinary sign rules for addition, subtraction, multiplication, and division apply.

What does the ellipsis in a result mean?

It means the decimal expansion continues after the displayed twelve decimal places. Use the exact fraction when you need an unrounded representation.

Why can I not divide by zero?

No number multiplied by zero can recover a nonzero dividend, so division by zero is undefined.

Does the calculator round the numbers I enter?

No. It converts the entered base-ten digits to an exact fraction before calculating. Only a nonterminating decimal display is shortened.

Is the decimal calculator free to use?

Yes. NumUtility is free, requires no account, and places no limit on ordinary calculations.

Are my entries stored?

No. The calculation runs in your browser. Values entered into the tool are not sent to NumUtility or saved by us.

Related calculators

Related guides