Fraction to Decimal Calculator

Convert any fraction to its decimal form, and find out whether the decimal terminates or repeats.

Decimal
Type

How to Convert a Fraction to a Decimal

Enter a numerator and denominator.

1

Enter the fraction

Type the numerator (top) and denominator (bottom).

2

Read the decimal

The calculator divides the numerator by the denominator.

3

Terminating or repeating

It also tells you whether the decimal ends or repeats forever.

Frequently Asked Questions

How do you turn a fraction into a decimal?
To turn a fraction into a decimal, divide the numerator by the denominator. For 3/8 that is 3 ÷ 8 = 0.375, and for 7/4 it is 7 ÷ 4 = 1.75. An improper fraction gives a value greater than 1, and a negative sign on either part makes the decimal negative. The calculator carries the division far enough to show whether the result terminates or repeats.
Which fractions give repeating decimals?
A fraction in lowest terms terminates only when its denominator has no prime factors other than 2 and 5. That is why 1/8 = 0.125 and 3/20 = 0.15 both stop, while 1/3 = 0.333… and 1/7 = 0.142857… repeat forever. The repeating block is at most one digit shorter than the denominator, so 1/7 repeats every 6 digits. Reduce the fraction first, because 5/10 looks awkward but is really 1/2.
What does the "Type" field mean?
The Type field says whether the decimal terminates, meaning it ends after a finite number of digits, or is a repeating (recurring) decimal. 3/8 is reported as terminating because it stops at 0.375. 1/6 is reported as repeating, because 0.1666… never ends. The label is decided from the prime factors of the reduced denominator, not from the digits on screen.
Is my data sent anywhere?
Nothing you enter into the fraction to decimal calculator leaves your device. The fraction to decimal calculator does all of its arithmetic client-side in JavaScript, so the numerator and denominator are never uploaded to a server. No account is needed and no calculation is stored or logged. Once the page has loaded it works with no network connection at all.