Decimal Sum Calculator

Add decimals exactly, with aligned columns, carries and no floating-point errors.

  1. Enter valuesUse your own inputs or an example
  2. CalculateApply your selected settings
  3. View resultExplore the answer and explanation

Enter decimal numbers

Enter your values below to get started.

Examples:
Separate numbers with commas, spaces or new lines; with a comma separator, use semicolons or spaces.
Decimal separator
Reset restores the default values.

Tips for this calculator

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.

What is a Decimal Sum?

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.

dk…d1d0.d−1d−2…=∑idi⋅10id_k \ldots d_1 d_0 . d_{-1} d_{-2} \ldots = \sum_i d_i \cdot 10^{i}

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.

InteractivePlace values on both sides of the decimal point

How Does the Decimal Sum Calculator Work?

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.

InteractiveColumn addition with carries, one column at a time
  1. Read and align

    12.75, 3.8 and 0.469 have up to 3 decimals, so they become 12.750, 3.800 and 0.469.

  2. Add the columns

    Right to left, carrying 1 or more to the next column when a column reaches 10.

  3. Place the point

    12,750 + 3,800 + 469 = 17,019 thousandths = 17.019.

  4. Round if asked

    Round half away from zero to the decimal places you pick.

Decimal Sum Formula

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.

∑i=1nxi=110k∑i=1n(10kxi)\sum_{i=1}^{n} x_i = \frac{1}{10^{k}} \sum_{i=1}^{n} \left(10^{k} x_i\right)

Example with k = 3

12.75+3.8+0.469=12750+3800+469100012.75 + 3.8 + 0.469 = \frac{12750 + 3800 + 469}{1000}
=170191000=17.019= \frac{17019}{1000} = 17.019

Decimal Places of the Sum

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.

InteractiveScale to integers, add, scale back

Types of Decimals in a Sum

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.

InteractiveTerminating or repeating? Add as fractions

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.

Repeating decimals

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.

Irrational decimals

Never end or repeat: π ≈ 3.14159, √2 ≈ 1.41421. Sums of irrational numbers are rounded to the precision you need.

How to Add Decimals by Hand

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:

  1. Align: 12.750, 3.800, 0.469.
  2. Thousandths: 0 + 0 + 9 = 9.
  3. Hundredths: 5 + 0 + 6 = 11, write 1, carry 1.
  4. Tenths: 7 + 8 + 4 + 1 = 20, write 0, carry 2.
  5. Ones: 2 + 3 + 0 + 2 = 7; tens: 1.
  6. Result: 17.019.
InteractiveStep through decimal sums by hand

    Why 0.1 + 0.2 Does Not Equal 0.3 in Floating Point

    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.

    • Binary double (IEEE 754): 53 bits of precision, about 15–17 significant decimal digits.
    • Decimal arithmetic (IEEE 754-2008 decimal, BigDecimal): exact for terminating decimals.
    InteractiveAdd 0.1 again and again: binary vs exact

    Rounding a Decimal Sum

    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.

    InteractiveRound then add vs add then round

    Common Mistakes with Decimal Sums

    • Aligning the last digits instead of the decimal points: 3.8 + 0.469 is 4.269, not 0.507.
    • Forgetting a whole number's decimal point: 5 = 5.0, so 5 + 0.25 = 5.25.
    • Dropping a carry across the point: 0.75 + 0.5 = 1.25; the tenths carry goes into the ones place.
    • Mixing separators: 1,250 means one thousand two hundred fifty in the US and one and a quarter in Germany.
    • Rounding too early: round once at the end to keep the total right.
    InteractiveTrue or false: adding decimals
    1. 3.8 + 0.469 = 4.269.

    2. 0.1 + 0.2 is exactly 0.3 in decimal arithmetic.

    3. Rounding each price before adding always gives the same total as rounding the sum.

    4. A sum of decimals can need more decimal places than the longest addend.

    5. 1/3 + 1/3 + 1/3 written as 0.333 + 0.333 + 0.333 gives exactly 1.

    Score: 0 / 5

    How to Use the Decimal Sum Calculator

    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.

    InteractiveLoad a ready-made decimal sum

    Each button fills the calculator and runs it.

    1. Enter the decimals

      Type or paste numbers such as 12.75, 3.8, 0.469; $, € and £ signs are ignored.

    2. Pick the separator

      Point for 12.75, comma for 12,75 (separate numbers with semicolons).

    3. Choose rounding

      Exact, or 0–6 decimal places; 2 places for money.

    4. Read the layout

      The Column layout tab shows every number aligned on the decimal point.

    Real-Life Uses of Decimal Sums

    Decimal sums total money, measurements and scientific readings. There are 5 common uses:

    • Shopping and invoices: prices in dollars ($) or euros (€) add to a subtotal before tax.
    • Measurements: lengths in metres (m) and centimetres, or weights in kilograms (kg): 1.25 kg + 0.8 kg = 2.05 kg (4.52 lb).
    • Accounting: ledgers keep exact cents, which is why databases store money as DECIMAL, not FLOAT.
    • Science: lab readings such as 0.125 mL + 0.0375 mL keep their significant digits.
    • Sport timing: lap times such as 31.247 s + 30.982 s add to a race time of 62.229 s.
    InteractiveExact receipt total with sales tax

    Decimal Sum Examples

    Exact decimal sums next to the binary floating-point result.

    Decimal Sum Examples
    DecimalsExact sumFloating pointCalculator
    0.1 + 0.20.30.30000000000000004
    0.7 + 0.10.80.7999999999999999
    1.1 + 2.23.33.3000000000000003
    12.75 + 3.8 + 0.46917.01917.019000000000002
    3.06 + 14.9 + 0.27518.23518.235
    −2.5 + 1.75 + 0.125−0.625−0.625
    12,5 + 7,75 + 0,0520,320.3

    Popular Decimal Sum Problems

    Try each one, then reveal the answer or solve it in the calculator.

    1. Add 3.06 + 14.9 + 0.275.

      Show answer18.235
    2. Add 0.7 + 0.1 exactly. What does binary floating point return?

      Show answer0.8 exactly; floating point returns 0.7999999999999999
    3. Find 125.5 + (−48.75) + 0.025.

      Show answer76.775
    4. A basket has items at $2.49, $7.99, $0.59 and $12.35. What is the total?

      Show answer$23.42
    5. Add 1.005 + 2.0049 and round to 2 decimal places.

      Show answer3.0099 ≈ 3.01
    6. Add 12,5 + 7,75 + 0,05 (comma decimals).

      Show answer20,3

    Explore More Sum Calculators

    Discover 67 free sum calculators across different categories. Find the right calculator for your needs.

    Browse All 67 Calculators
    Questions and answers

    Frequently Asked Questions

    What is a decimal sum calculator?

    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.

    How do you add decimals?

    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.

    Why does 0.1 + 0.2 equal 0.30000000000000004?

    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.

    Do you need to line up decimal points when adding?

    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.

    How many decimal places does a sum have?

    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.

    Should you round before or after adding decimals?

    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.

    Can the calculator add decimals with a comma separator?

    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.

    How do you add repeating decimals?

    Convert repeating decimals to fractions, add the fractions and convert back. 0.(3) + 0.1(6) = 1/3 + 1/6 = 1/2 = 0.5.

    Can the sum of decimals be a whole number?

    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.

    Conclusion

    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.

    InteractiveHow should you add these decimals?