Terminating decimals
A finite number of digits, such as 0.25 and 3.8. Every fraction whose reduced denominator has only the prime factors 2 and 5 terminates.
Add decimals exactly, with aligned columns, carries and no floating-point errors.
Enter your values below to get started.
Pad shorter decimals with zeros so every number has the same number of decimal places: 3.8 = 3.800.
Round once, after adding: rounding each number first can change the total.
Money: pick 2 decimal places to round the total to the cent.
The Floating-point sum row shows what a spreadsheet or program using binary doubles returns.
A decimal sum calculator adds numbers with decimal parts exactly by lining up the decimal points, so 12.75 + 3.8 + 0.469 = 17.019. Enter up to 20,000 decimals with a point or a comma as the separator to get the exact sum, the aligned column layout with every carry, an optional rounded total and a check against floating-point arithmetic, where 0.1 + 0.2 gives 0.30000000000000004.
A decimal sum is the total of 2 or more numbers written with a decimal point, found by adding digits that share the same place value. 12.75 + 3.8 + 0.469 = 17.019.
Each place to the right of the decimal point is worth one tenth of the place before it: tenths (0.1), hundredths (0.01), thousandths (0.001). Flemish mathematician Simon Stevin popularised decimal fractions in his 1585 booklet De Thiende ("The Tenth"), and the decimal point itself spread after John Napier used it in 1619.
Countries differ on the decimal separator: the United States, the United Kingdom and India write 12.75, while Germany, France and Brazil write 12,75. The International System of Units (SI) accepts both.
The decimal sum calculator pads every number to the same number of decimal places, adds the padded numbers as whole numbers and puts the decimal point back. Working in whole numbers keeps every digit exact, so 0.1 + 0.2 returns 0.3 instead of the binary floating-point result 0.30000000000000004.
12.75, 3.8 and 0.469 have up to 3 decimals, so they become 12.750, 3.800 and 0.469.
Right to left, carrying 1 or more to the next column when a column reaches 10.
12,750 + 3,800 + 469 = 17,019 thousandths = 17.019.
Round half away from zero to the decimal places you pick.
The decimal sum formula scales every number by 10k, where k is the largest number of decimal places, adds the resulting integers and divides by 10k.
The exact sum never needs more decimal places than the longest addend: 0.125 + 0.5 has at most 3 decimals (0.625). Trailing zeros can be dropped: 0.25 + 0.75 = 1.00 = 1.
There are 3 types of decimals you can add: terminating decimals, repeating decimals and irrational decimals. Only terminating decimals add exactly in decimal form; repeating decimals add exactly as fractions, and irrational decimals such as π can only be approximated.
A finite number of digits, such as 0.25 and 3.8. Every fraction whose reduced denominator has only the prime factors 2 and 5 terminates.
A block of digits repeats forever: 1/3 = 0.(3), 2/7 = 0.(285714). Add them as fractions: 1/3 + 1/6 = 1/2 = 0.5.
Never end or repeat: π ≈ 3.14159, √2 ≈ 1.41421. Sums of irrational numbers are rounded to the precision you need.
To add decimals by hand, write the numbers in a column with the decimal points lined up, fill empty places with zeros, add each column from right to left and bring the decimal point straight down. Here is 12.75 + 3.8 + 0.469:
0.1 + 0.2 returns 0.30000000000000004 in most programming languages, since computers store decimals as binary fractions under the IEEE 754 standard, and 0.1 has no exact binary form. The stored value of 0.1 is 0.1000000000000000055511151231257827…, and the small errors of 0.1 and 0.2 add up to a visible difference in the 17th significant digit.
Adding 0.1 ten times in binary gives 0.9999999999999999, and 0.7 + 0.1 gives 0.7999999999999999. Exact decimal arithmetic avoids the problem: the decimal sum calculator, Python's decimal module, Java's BigDecimal and the SQL DECIMAL type all store base-10 digits.
Round a decimal sum once, after adding all the numbers, not before. Rounding each number first adds up the rounding errors: 2.345 + 1.125 + 4.675 + 0.335 = 8.48 exactly, but rounding each to 2 decimals first gives 2.35 + 1.13 + 4.68 + 0.34 = 8.50.
The calculator rounds half away from zero (8.485 → 8.49). Accounting software often uses banker's rounding (round half to even, 8.485 → 8.48) to cancel the upward bias over many sums.
Paste the decimals, choose the decimal separator, pick a rounding option and press Calculate. The result card gives the exact sum, the rounded sum, the floating-point sum and the mean; the tabs show the steps, the aligned column layout and a running-sum table.
Type or paste numbers such as 12.75, 3.8, 0.469; $, € and £ signs are ignored.
Point for 12.75, comma for 12,75 (separate numbers with semicolons).
Exact, or 0–6 decimal places; 2 places for money.
The Column layout tab shows every number aligned on the decimal point.
Decimal sums total money, measurements and scientific readings. There are 5 common uses:
Exact decimal sums next to the binary floating-point result.
| Decimals | Exact sum | Floating point | Calculator |
|---|---|---|---|
| 0.1 + 0.2 | 0.3 | 0.30000000000000004 | |
| 0.7 + 0.1 | 0.8 | 0.7999999999999999 | |
| 1.1 + 2.2 | 3.3 | 3.3000000000000003 | |
| 12.75 + 3.8 + 0.469 | 17.019 | 17.019000000000002 | |
| 3.06 + 14.9 + 0.275 | 18.235 | 18.235 | |
| −2.5 + 1.75 + 0.125 | −0.625 | −0.625 | |
| 12,5 + 7,75 + 0,05 | 20,3 | 20.3 |
Try each one, then reveal the answer or solve it in the calculator.
Add 3.06 + 14.9 + 0.275.
Add 0.7 + 0.1 exactly. What does binary floating point return?
Find 125.5 + (−48.75) + 0.025.
A basket has items at $2.49, $7.99, $0.59 and $12.35. What is the total?
Add 1.005 + 2.0049 and round to 2 decimal places.
Add 12,5 + 7,75 + 0,05 (comma decimals).
Discover 67 free sum calculators across different categories. Find the right calculator for your needs.
Try a different name or choose another category.
A decimal sum calculator is an online tool that adds numbers with decimal parts exactly, lining up the decimal points and showing every carry. This calculator adds up to 20,000 decimals and rounds the total if you ask.
Line up the decimal points, fill empty places with zeros, add each column from right to left with carries and bring the decimal point straight down. 12.75 + 3.8 = 12.75 + 3.80 = 16.55.
0.1 + 0.2 equals 0.30000000000000004 only in binary floating point (IEEE 754), where 0.1 and 0.2 are stored as the nearest binary fractions. In exact decimal arithmetic, 0.1 + 0.2 = 0.3.
Yes, the decimal points must line up so that tenths add to tenths and hundredths to hundredths. Aligning the last digits instead gives wrong answers.
The sum has at most as many decimal places as the addend with the most decimal places. 0.125 + 0.5 has up to 3 decimals: 0.625.
Round after adding. Rounding 2.345, 1.125, 4.675 and 0.335 first gives 8.50, but the exact sum 8.48 rounds to 8.48.
Yes, choose Comma as the decimal separator and separate the numbers with semicolons or spaces, such as 12,5; 7,75; 0,05 = 20,3.
Convert repeating decimals to fractions, add the fractions and convert back. 0.(3) + 0.1(6) = 1/3 + 1/6 = 1/2 = 0.5.
Yes, a sum of decimals is a whole number when the decimal parts add up to a whole: 0.25 + 0.75 = 1 and 2.6 + 1.4 = 4.
A decimal sum adds numbers digit by digit with the decimal points lined up, and the decimal sum calculator does that exactly for any list, without the binary rounding that turns 0.1 + 0.2 into 0.30000000000000004. Align the points, add the columns with carries, and round once at the end.
Not sure how to treat your numbers? Answer 3 questions below.