Add decimal numbers precisely — with place-value alignment shown and floating-point errors cleaned. Free, fast, and mobile-friendly.
Home » Math Calculators » Adding Decimals Calculator
Adding decimals is the arithmetic of money, measurements, and science — 12.45 + 3.80, 0.1 + 0.2, lab readings with three decimal places. The rule is simple: line up the decimal points and add column by column. But computers famously fumble this: 0.1 + 0.2 = 0.30000000000000004 in floating-point arithmetic. Our free Adding Decimals Calculator adds precisely, shows the place-value alignment, and cleans up binary artifacts so the answer is the mathematically correct one.
Decimal addition is really whole-number addition in disguise. The number 12.45 is 1245 hundredths, and 3.8 is 380 hundredths; adding gives 1625 hundredths = 16.25. Aligning the decimal points is just a visual way of making sure you add hundredths to hundredths and tenths to tenths — never hundredths to tenths.
This calculator accepts any decimal inputs, reports how many decimal places each has, pads the shorter one for the alignment display, and returns the exact sum. It is ideal for checking receipts, balancing measurements, verifying spreadsheet totals, and teaching the alignment method to students.
Each decimal position has a fixed value: tenths, hundredths, thousandths, going right. Adding 12.45 + 3.8 without alignment risks adding the 8 tenths to the 5 hundredths — a place-value error. Lining up the decimal points forces every digit into its correct column, so tenths add to tenths and hundredths to hundredths. The decimal point in the answer then drops straight down.
Padding with trailing zeros makes the alignment explicit: 3.8 becomes 3.80, and 12.45 + 3.80 is a clean two-decimal addition. Trailing zeros never change a decimal’s value (3.8 = 3.80 = 3.800), so padding is always safe. It is the same move as finding a common denominator for fractions — expressing both numbers in the same units (here, hundredths) before combining.
The famous 0.1 + 0.2 problem deserves an explanation. Computers store decimals in binary, and 0.1 has no exact binary representation — it repeats forever, like 1/3 in decimal. Adding the two approximations gives 0.30000000000000004. This is not a math error; it is a representation limit. The calculator rounds the binary result back to the exact decimal answer (0.3), which is what humans and money math require.
Carrying works exactly as with whole numbers: when a column sums to 10 or more, write the digit and carry 1 left. In 12.45 + 3.80, the hundredths column (5 + 0 = 5), tenths column (4 + 8 = 12, write 2 carry 1), ones column (2 + 3 + carry 1 = 6), tens column (1) — giving 16.25.
Align the decimal points, pad with zeros, then add column by column.
Equivalent to converting both numbers to the same place value (e.g. hundredths) and adding as whole numbers.
Add 12.45 + 3.8. Pad: 12.45 + 3.80. Hundredths: 5 + 0 = 5. Tenths: 4 + 8 = 12, write 2 carry 1. Ones: 2 + 3 + 1 = 6. Tens: 1. Result: 16.25.
Add 0.1 + 0.2. Naive floating-point gives 0.30000000000000004; the exact decimal answer is 0.3. The calculator cleans the binary artifact and reports 0.3. This is why money software never uses raw floats.
Add 4.567 + 0.43. Pad to thousandths: 4.567 + 0.430. Thousandths: 7 + 0 = 7. Hundredths: 6 + 3 = 9. Tenths: 5 + 4 = 9. Ones: 4. Result: 4.997.
Add −5.25 + 3.1. Align: −5.25 + 3.10. This is subtraction in effect: 5.25 − 3.10 = 2.15, keeping the sign of the larger magnitude: −2.15. Adding a negative is subtracting its absolute value.
Grocery receipts are decimal additions. A cart with $12.45 of produce and $3.80 of dairy totals $16.25 before tax. Shoppers who estimate by aligning decimals catch scanner errors — if the register shows $17.25, the misaligned total stands out.
In the lab, measurements add the same way. Mixing 4.567 mL of reagent with 0.43 mL gives 4.997 mL total. The result keeps the precision of the least precise input’s place — here thousandths — which matters for significant figures in science.
Construction takeoffs sum decimal feet: 12.45 ft + 3.8 ft = 16.25 ft of trim. Contractors pad to a common precision before adding so that tenths are never accidentally added to hundredths — a 10× error on material orders.
The 0.1 + 0.2 = 0.30000000000000004 phenomenon deserves a full explanation because it bites every programmer eventually. Computers store fractional numbers in binary (base 2), and just as 1/3 = 0.333… repeats in decimal, 1/10 = 0.0001100110011… repeats in binary. The computer keeps only 53 significant binary digits (a “double”), so 0.1 is stored as a hair more than one-tenth. Adding two such approximations compounds the hair, and printing the full precision exposes it.
The fix used by the calculator — rounding the binary result to 10 decimal places — works because the representation error is far smaller than 10^−10. Real decimal inputs with up to 10 places round-trip exactly. Financial software goes further, using integer cents or decimal types that sidestep binary entirely; the calculator’s approach matches what careful programmers do.
This is also why the calculator counts decimal places from the input strings rather than the parsed floats: the string “3.8” unambiguously has one decimal place, while the float 3.8 is really 3.79999999999999982236431605997495353221893310546875. String analysis keeps the place-counting honest.
Add left to right: 0.1 + 0.2 = 0.3 (cleaned), then 0.3 + 0.3 = 0.6. The exact decimal answer is 0.6. Raw floating-point would give 0.6000000000000001 — the calculator’s per-step cleaning keeps chained sums exact. For long chains, the cleaning at each step prevents error accumulation.
Pad: 999.99 + 0.01. Hundredths: 9 + 1 = 10, write 0 carry 1. Tenths: 9 + 0 + 1 = 10, write 0 carry 1. Ones: 9 + 1 = 10, write 0 carry 1. Tens: 9 + 1 = 10, write 0 carry 1. Hundreds: 9 + 1 = 10. Result: 1000.00. The cascade shows why aligning and carrying mechanically beats mental math here.
Decimal addition is also the foundation of the “counting up” method for making change: a $13.47 purchase paid with $20 – count up 3 cents to $13.50, 50 cents to $14, $6 to $20: total change $6.53. Each count-up step is a decimal addition chosen to land on round numbers. Cashiers who never do formal subtraction still add decimals fluently, proving that aligned-place addition is the natural human algorithm.
Add 0.125 + 0.375. Thousandths: 5+5=10, write 0 carry 1. Hundredths: 2+7+1=10, write 0 carry 1. Tenths: 1+3+1=5. Result: 0.500 = 0.5. Check: 1/8 + 3/8 = 4/8 = 1/2.
Add 99.95 + 0.05. Hundredths: 5+5=10, write 0 carry 1. Tenths: 9+0+1=10, write 0 carry 1. Ones: 9+1=10, write 0 carry 1. Tens: 9+1=10. Result: 100.00.
A cart holds $12.99 + $4.50 + $0.75. Add: 12.99+4.50=17.49; 17.49+0.75=18.24. Total: $18.24.
Add 0.1 + 0.2 + 0.3 + 0.4. Stepwise with cleaning: 0.1+0.2=0.3; +0.3=0.6; +0.4=1.0. Exact decimal result: 1. Raw floats would show 0.9999999999999999 without cleaning.
The Adding Decimals Calculator sums two decimal numbers with exact decimal semantics: it counts each input’s decimal places, pads for alignment display, computes the sum, and strips binary floating-point artifacts by rounding to 10 decimals. Steps show place counts, padded alignment, and column addition.
Line up the decimal points, pad the shorter number with trailing zeros, then add column by column from right to left, carrying as with whole numbers. Drop the decimal point straight down into the answer. The calculator demonstrates the alignment explicitly.
Exactly 0.3. Computers using binary floating-point may show 0.30000000000000004, which is a representation artifact — the true decimal sum is 0.3. This is the most famous floating-point example in computing.
It is not strictly required, but padding (3.8 → 3.80) makes the columns explicit and prevents place-value errors. Trailing zeros never change a number’s value. Padding is always safe: trailing zeros never change the value.
16.25. Align as 12.45 + 3.80: hundredths 5+0=5, tenths 4+8=12 (write 2, carry 1), ones 2+3+1=6, tens 1. The calculator cleans the binary artifact automatically.
Pad the shorter one with zeros to match the longer, then add normally. Example: 4.567 + 0.43 → 4.567 + 0.430 = 4.997. The answer inherits the most precise input’s place count.
Yes. Adding a negative is subtraction: −5.25 + 3.1 = −(5.25 − 3.1) = −2.15. When signs differ, subtract the smaller magnitude from the larger and keep the larger’s sign. Subtracting the smaller magnitude and keeping the larger’s sign.
Each column has a fixed place value (tenths, hundredths, …). Alignment guarantees tenths add to tenths and hundredths to hundredths. Misalignment adds different place values together — a serious error. Misalignment is the number-one cause of decimal addition errors.
For pure addition, the answer naturally has as many places as the most precise input. 12.45 + 3.8 = 16.25 (two places, matching 12.45). Trim only trailing zeros. Trailing zeros may be trimmed without changing the value.
Cite this page as: Adding Decimals Calculator. Sigma Calculator. Retrieved October 9, 2026, from https://sigmacalculator.net/math-calculators/adding-decimals-calculator/
Last updated: October 9, 2026