Free · No sign-up

Fraction to decimal converter

Type a numerator and a denominator and get the exact decimal — including the repeating part, written properly. You also get the percentage and the fraction reduced to lowest terms.

Repeating digits marked Exact long division Works offline
=

How it works

1

Enter the fraction

Put the top number in the first box and the bottom number in the second. Decimals in the inputs are fine too — they are cleared to whole numbers before dividing.

2

Read the decimal

The converter performs real long division. If the decimal repeats, the repeating block is wrapped in brackets, like 0.(3), instead of being cut off.

3

Grab the extras

Alongside the decimal you get the value as a percentage and the same fraction reduced to its lowest terms.

What makes it accurate

Real repeating detection

Floating-point division rounds 1/3 to 0.3333333. This tool tracks remainders during division, so it knows the 3 repeats forever and shows it that way.

Lowest terms included

It divides the numerator and denominator by their greatest common divisor, so 8/12 is reported cleanly as 2/3.

Private by design

Everything is computed on your device in a single page. No inputs are uploaded, and the converter keeps working with no connection.

Turning fractions into decimals

A fraction is a division waiting to happen: the bar between numerator and denominator means "divide". To convert 3/8 to a decimal you simply work out 3 divided by 8, which gives 0.375. Every fraction turns into a decimal this way.

Terminating vs repeating

Some fractions end cleanly and others go on forever. A fraction in lowest terms terminates only when its denominator has no prime factors other than 2 and 5. That is why 3/8 stops at 0.375, while 1/3 becomes 0.333… and 2/7 repeats a six-digit block.

Reading the bracket notation

When digits repeat, mathematicians usually draw a bar over them. Because a bar is hard to type, this converter uses brackets instead: 0.(3) means the 3 repeats, and 0.58(3) means only the final 3 repeats. It is the same idea, just keyboard-friendly.

From decimal to percentage

Once you have the decimal, multiplying by 100 gives the percentage. So 3/8 = 0.375 = 37.5%. This is handy when a score or a share is written as a fraction and you need it as a percent.

Common questions

How do I convert a fraction to a decimal?

Divide the numerator by the denominator. For example 3/8 is 3 ÷ 8 = 0.375. The tool above does the division and also flags any repeating digits.

What does the notation like 0.(3) mean?

The digits inside the brackets repeat forever. 0.(3) is 0.3333…, and 0.58(3) means the 3 keeps repeating after 0.58. It replaces the bar normally drawn over repeating decimals.

Why do some fractions repeat and others do not?

A fraction in lowest terms produces a terminating decimal only when its denominator's prime factors are just 2s and 5s. Any other factor, like 3 or 7, causes a repeating pattern.

Can I enter an improper fraction like 22/7?

Yes. Improper fractions (top larger than bottom) work fine and return a value above 1. 22/7 comes out as 3.142857 repeating.

Does it reduce the fraction as well?

Yes. It shows the fraction in lowest terms by dividing both numbers by their greatest common divisor, so 6/8 is reported as 3/4.

Is my input sent anywhere?

No. The conversion runs entirely in your browser. Nothing is uploaded or stored, and it works offline once loaded.