esc
Calculators

Fraction to decimal calculator:
with repeating digits marked

Type a fraction such as 7/12 or a mixed number such as 2 1/3. You get the exact decimal with the repeating part marked, a rounded value and the percentage.

A fraction, a mixed number (2 1/3) or a decimal over a number (1.5/4).
decimal places
7/12 as a decimal0.583̅0.58(3): the digits in brackets repeat forever
Rounded to 4 places
0.5833
Percent
58.33%
Simplest form
7/12
Repeating block
3 (1 digit)
Type of decimal
Repeating (recurring)
Long division of the remainder, digit by digit
DigitRemainder × 10 ÷ bottomDigitNew remainder
170 ÷ 12510
2100 ÷ 1284
340 ÷ 1234
440 ÷ 1234
540 ÷ 1234
640 ÷ 1234
740 ÷ 1234
840 ÷ 1234
940 ÷ 1234
1040 ÷ 1234
1140 ÷ 1234
1240 ÷ 1234
1340 ÷ 1234
1440 ÷ 1234
1540 ÷ 1234
1640 ÷ 1234
1740 ÷ 1234
1840 ÷ 1234
1940 ÷ 1234
2040 ÷ 1234
2140 ÷ 1234
2240 ÷ 1234
2340 ÷ 1234
2440 ÷ 1234
2540 ÷ 1234
2640 ÷ 1234
2740 ÷ 1234
2840 ÷ 1234
2940 ÷ 1234
3040 ÷ 1234
  • A fraction in lowest terms ends only when its bottom number has no prime factors other than 2 and 5. 12 = 2² × 3.

How to use Fraction to decimal calculator

  1. 01Type the fractionOr a mixed number.
  2. 02Choose the roundingDecimal places.
  3. 03Read the decimalExact, rounded and as a percent.
File character arranging marked pages

Top ÷ bottom, digit by digit.

A fraction is a division: 7/12 means 7 ÷ 12. Long division gives one digit at a time, and as soon as a remainder comes back that was seen before, the digits start repeating, so 7/12 = 0.58333… The table lists each remainder, which is how the repeat is found for certain instead of guessed from the first few digits.

At a glance

Price
Free. No sign-up, no watermark.
Privacy
Your text stays in your browser. Nothing is uploaded.
Works in
Chrome, Edge, Firefox and Safari, on phones and computers

Questions

What is 1/7 as a decimal?

1/7 = 0.142857142857…, with the six digits 142857 repeating forever. Rounded to four places it is 0.1429.

Which fractions give a decimal that ends?

Only those whose bottom number, in lowest terms, has no prime factors other than 2 and 5. 3/8 (8 = 2³) ends as 0.375; 7/12 (12 = 2² × 3) repeats.

What does the line over a digit mean?

It marks the digits that repeat. 0.58 with a bar over a 3 means 0.58333… The same thing is also written 0.58(3).

Is what I type sent anywhere?

No. The calculation runs in your browser and nothing you type leaves your device.