Math Solver Free

Decimal Calculator

Add, subtract, multiply and divide decimals — exact answers, every step shown.

0.1 + 0.2 = 0.3

Step 1: Line up the decimal points — write both numbers with 1 decimal place: 0.1 and 0.2.

Step 2: Work with the aligned whole numbers: 1 + 2 = 3.

Step 3: Put the decimal point back 1 place from the right: 0.3.

How Decimal Arithmetic Works

Decimals are how money, measurement and science write numbers that are not whole — and they are where ordinary calculators quietly go wrong, answering 0.1 + 0.2 with 0.30000000000000004. This decimal calculator handles all four operations — addition, subtraction, multiplication and division — the exact way: it converts your decimals into whole numbers, does whole-number arithmetic (which a computer can never get wrong), and places the decimal point back at the end. Every step of that process is written out under the answer, so the page teaches the school method at the same time as it computes.

The One Idea Behind Every Decimal Calculation

A decimal is a whole number wearing a place-value label. In 0.37, the digits are 37 and the label is hundredths — the number is 37 hundredths, or 37 ÷ 100. The count of digits after the decimal point is called the number of decimal places: 0.37 has 2, 5.8 has 1, 12.346 has 3. Every rule for decimal arithmetic is just bookkeeping for that label: addition needs both numbers expressed with the same label, multiplication adds the two labels together, and division works by removing the labels from both sides equally. Keep the label straight and the digits take care of themselves.

The Four Operations, Rule by Rule

  • Adding and subtracting: line up the decimal points so tenths sit over tenths and hundredths over hundredths — pad the shorter number with zeros if needed — then add or subtract as whole numbers and keep the point in the same column.
  • Multiplying: ignore the points and multiply as whole numbers; then give the answer as many decimal places as the two numbers have between them.
  • Dividing: multiply both numbers by 10, 100 or 1,000 until the divisor is whole, then divide normally — scaling both sides equally never changes a quotient.

How to Use This Calculator

  1. Pick an operation with the tabs — Add, Subtract, Multiply or Divide. Each tab starts with a worked pair of numbers so you can see the format immediately.
  2. Type your two decimals into the fields. Whole numbers, negatives and values like .5 are all fine.
  3. Read the headline answer, which updates as you type, and then the numbered steps underneath: aligning, clearing or counting places, exactly as you would write them on paper.
  4. For division, if the quotient never terminates the calculator shows 10 decimal places and says so — no silent rounding.

Worked Example 1: 0.1 + 0.2

  1. Line up the points: both numbers already have 1 decimal place — 0.1 and 0.2.
  2. Add as whole numbers of tenths: 1 + 2 = 3.
  3. Place the point back 1 place: 3 tenths = 0.3.

That is the whole calculation — and it is why the answer is exactly 0.3, not 0.30000000000000004. The longer figure appears only when a machine stores 0.1 and 0.2 in binary, where neither has an exact form. Working in tenths, as this calculator does, sidesteps the storage problem completely.

Worked Example 2: 1.5 × 2.4 and 7.5 ÷ 2.5

For the multiplication, ignore the points: 15 × 24 = 360. The two numbers carry 1 + 1 = 2 decimal places between them, so place the point 2 from the right: 3.60, written as 3.6. For the division, clear the decimals by multiplying both numbers by 10: 7.5 ÷ 2.5 becomes 75 ÷ 25, and 75 ÷ 25 = 3. Two different rules, one shared idea — move the labels out of the way, do whole-number work, then restore them.

Where Decimal Calculations Show Up

Money is decimals all day: prices, tax, tips and change are two-decimal-place arithmetic, and a one-cent drift from sloppy rounding is a real error in a budget. Measurement runs on decimals too — 2.5 kg of flour, a 3.75 m board, 0.6 of a litre — and science records data to three or more places, where the place-counting rule in multiplication decides how many digits of an answer are even meaningful. In each case the safe habit is the one this page demonstrates: exact whole-number work underneath, labels handled on top.

Three Mistakes to Watch For

First, right-aligning decimals in addition the way you right-align whole numbers: 12.34 + 0.006 is not 12.94 — the points must line up, which is why the calculator rewrites the pair as 12.340 + 0.006. Second, guessing the point in a product: 1.5 × 2.4 is 3.6, not 36 or 0.36, and only the place-count (1 + 1 = 2) tells you so. Third, trusting a floating-point display: if a sum ends in a long tail of 9s or a stray 4 in the last place, the true decimal answer is almost certainly the clean one this calculator shows.

Need whole-number arithmetic instead? The four-function calculator covers the basics, the rounding calculator tidies long decimals to any place, and the fraction calculator handles the same quantities written as fractions.

Frequently Asked Questions

What is 0.1 + 0.2?

Exactly 0.3. Write both numbers in tenths: 0.1 is 1 tenth and 0.2 is 2 tenths, and 1 + 2 = 3 tenths = 0.3. If a phone or programming language shows 0.30000000000000004 instead, that is a binary floating-point artifact, not the true sum — this calculator works with exact whole-number arithmetic, so it always shows 0.3.

How do you multiply decimals?

Ignore the decimal points, multiply as whole numbers, then place the point so the answer has as many decimal places as the two numbers combined. For 1.5 × 2.4: 15 × 24 = 360, the two numbers carry 1 + 1 = 2 decimal places, so the answer is 3.60 = 3.6. The calculator shows all three steps for your own numbers.

How do you divide decimals?

Multiply both numbers by the same power of ten until the divisor is a whole number, then divide as usual. For 7.5 ÷ 2.5: multiply both by 10 to get 75 ÷ 25 = 3. The quotient never changes when both sides are scaled equally, which is why the trick is legal. For divisors with more decimal places, scale by 100, 1,000 and so on.

How do you add decimals with a different number of decimal places?

Pad the shorter number with zeros so both have the same number of decimal places, then add column by column. For 12.34 + 0.006: rewrite as 12.340 + 0.006, work in thousandths (12340 + 6 = 12346), and place the point back to get 12.346. The padding zero changes nothing about the value — it only lines the columns up.

Why do some calculators show 0.30000000000000004 for 0.1 + 0.2?

Computers store decimals in binary, and fractions like 0.1 and 0.2 have no exact binary representation — the same way 1/3 has no exact decimal one. The tiny stored errors can surface in the last digits of a sum. This decimal calculator avoids the issue entirely by converting your inputs to whole numbers (tenths, hundredths, thousandths), calculating exactly, and placing the decimal point back at the end.

Is this decimal calculator free?

Yes — every tool on Math Solver Free is free with no sign-up, and all calculations run in your browser. Choose an operation, type two decimal numbers, and the calculator shows the exact answer with the aligning, multiplying or clearing steps written out, so you can follow the method as well as the result.

Related Tools & Guides

About the MathSolverFree Team

The MathSolverFree Team builds and maintains the calculators and step-by-step solvers on this site. Every tool is checked against worked textbook examples before it is published, and the method behind each solver is written out in full — in the worked examples on the page and in our guides — so you can see exactly how an answer is reached, not just the answer itself.

How we build and test our tools·More about the team