Free calculatorLive resultsSteps and sourcesEmbed on your site, free

Decimal Calculator

Decimal Calculator works out Result and Unrounded result from Expression, Variables (optional) and Number display. The default figures on this page give result of 0.3; change any entry and the result, the working and the sources update together.

Result
0.3
Basic Arithmetic Calculator
Unrounded result
0.3
Expression evaluated
0.1 + 0.2
Result with separators
0.3
Result as a fraction
3/10
Operation
Expression
Arithmetic used
Exact fractions
Worked out from ISO 80000-2, Quantities and units — Part 2: Mathematics (operator symbols and precedence) and 3 other sources.

Your figures

Updates as you type
Use + - * / ^ ( ) and % for remainder. Multiplication and division are done before addition and subtraction. In "words" mode, type the sum in plain English instead.
Name a value the expression may use, e.g. "l = 12, w = 7" with an expression of 2 * (l + w).
Changes how the answer is written out. It never changes the arithmetic.

How this is worked out

3 steps
  1. Evaluate 0.1 + 0.2 in exact fraction arithmetic.
  2. 1/10 + 1/5 = 3/10
  3. In binary floating point the same expression gives 0.30000000000000004; the exact value is 3/10 = 0.3.
Step-by-step workingtable
1/10 + 1/5 = 3/10

Its 12 worked examples are re-run on every release, last on 15 September 2026. What changed

Sources and references

4 sources
ISO 80000-2, Quantities and units — Part 2: Mathematics (operator symbols and precedence)
2019
IEEE 754-2019, Standard for Floating-Point Arithmetic
2019 · Why 0.1 + 0.2 is not 0.3 in the default mode, and what exact mode avoids.

What the Decimal Calculator calculates

Adds, subtracts, multiplies, divides and exponentiates numbers, either as a free-form expression evaluated with correct operator precedence, as two named operands, as a list folded left to right, or as a sum written out in words — in binary floating point or in exact fraction arithmetic.

How to use this Decimal Calculator

Enter Expression, Variables (optional), Number display and Working shown. Result updates as you type. Change one figure at a time to see what drives the result.

How the result is worked out

Open “How this is worked out” beside the result for the step-by-step calculation behind Result, Unrounded result and Expression evaluated.

The method follows ISO 80000-2, Quantities and units — Part 2: Mathematics (operator symbols and precedence), NIST Digital Library of Mathematical Functions, §1.1 Notation, IEEE 754-2019, Standard for Floating-Point Arithmetic and Unicode CLDR number formatting patterns (es-ES decimal comma, en-IN lakh/crore grouping).

What you can compare

Change one input at a time to see how it affects Result, Unrounded result and Expression evaluated. The inputs you can vary are Expression, Variables (optional), Number display and Working shown.

Results are general information, not financial, tax, legal, medical or engineering advice. Check any decision that matters with a qualified professional.

Embed this calculator on your website

Copy this code into any page. The calculator appears with the figures currently entered, sizes itself to fit, and a small credit line links back here. Free, no account, no ads inside it, no tracking of your readers. Set your own figures and fixed fields; Personal removes the credit line, sets your colour and shows you which sites use it.

Preview

See something wrong? Report a problem with this calculator

Frequently asked questions

How do I get my calculator to show decimals?

Adds, subtracts, multiplies, divides and exponentiates numbers, either as a free-form expression evaluated with correct operator precedence, as two named operands, as a list folded left to right. Open “How this is worked out” beside the result to see each step for your own figures.

How to turn calculator into decimal?

It needs Expression, Variables (optional), Number display and Working shown. Nothing else is required, and the figures stay in your browser.

How do I calculate a decimal number?

The result gives Result, Unrounded result, Expression evaluated, Result with separators, Result as a fraction and Whole-number quotient, each labelled with its unit so the figure can be read on its own.

Can you provide me with a decimal multiplying calculator?

Adds, subtracts, multiplies, divides and exponentiates numbers, either as a free-form expression evaluated with correct operator precedence, as two named operands, as a list folded left to right. Put your own figures in above and the working updates beside the result. For scale, the default figures on this page give 0.3.

Can you provide a decimal hours calculator?

The page opens with worked default figures: result of 0.3. Replace them with your own and every figure updates as you type.

What information do I need for the Decimal Calculator?

You need Expression, Variables (optional), Number display and Working shown. The page opens with default figures that give result of 0.3, so you can see the scale before entering your own.

Related calculators

View all related calculators8 more