Calculator

Fractions, Decimals and Percentages: One Number, Three Forms

Three ways to write the same value

Three quarters can be written as the fraction 3/4, the decimal 0.75 or the percentage 75%. They are not approximately equal; they are exactly the same number in three different notations. Each form is good at something different.

Moving between them comes down to two operations: dividing, and multiplying or dividing by 100.

Fraction to decimal: divide

A fraction is a division. 3/8 means 3 ÷ 8 = 0.375. Type it into the basic calculator, or do it by long division: 8 goes into 30 three times (24, remainder 6), into 60 seven times (56, remainder 4), into 40 five times exactly, giving 0.375.

Decimal to fraction: use place value

Write the digits over 10, 100, 1,000 and so on, according to how many decimal places there are, then simplify.

Simplifying uses the greatest common factor, exactly as in the fractions guide. The fraction calculator shows the simplified result and its decimal side by side.

Moving to and from percentages

A percentage is a number of hundredths, so you only move the decimal point.

The percentage guide shows what to do with a percentage once you have it.

Which fractions give decimals that stop?

Some fractions give a decimal that ends (a terminating decimal), while others repeat forever. There is a simple test.

Rule: write the fraction in simplest form. If the denominator has no prime factors other than 2 and 5, the decimal terminates. If it has any other prime factor (3, 7, 11 and so on), the decimal repeats.

FractionDenominator's prime factorsDecimal
7/202 × 2 × 50.35 (stops)
1/162 × 2 × 2 × 20.0625 (stops)
1/402 × 2 × 2 × 50.025 (stops)
1/62 × 30.1666… (repeats)
3/11110.2727… (repeats)
1/770.142857142857… (repeats)

The reason is that our number system is built on 10 = 2 × 5. A denominator made only of 2s and 5s can always be scaled up to a power of 10: 7/20 = 35/100. A denominator containing 3 can never become 10, 100 or 1,000, because no power of 10 is divisible by 3.

Simplify first. 3/12 looks as if it should repeat because 12 contains 3, but it simplifies to 1/4 = 0.25, which stops. The number of decimal places in a terminating decimal equals the larger of the two counts of 2s and 5s: 1/16 has four 2s, so it has four decimal places (0.0625).

The length of the repeating block can be surprising. 1/3 repeats one digit, 1/11 repeats two (0.0909…), and both 1/7 and 1/13 repeat six digits: 1/13 = 0.076923076923…

Repeating decimals back to fractions

A repeating decimal can always be turned into an exact fraction with a little algebra. The idea is to shift the decimal point so that the repeating parts line up, then subtract to make them cancel.

Example 1: 0.333…

  1. Let x = 0.333…
  2. Multiply by 10: 10x = 3.333…
  3. Subtract: 10x − x = 3.333… − 0.333…, so 9x = 3.
  4. x = 3/9 = 1/3.

Example 2: 0.272727… The block is two digits long, so multiply by 100. 100x = 27.2727…, and 100x − x = 27, so 99x = 27 and x = 27/99 = 3/11.

Example 3: 0.1666… Here one digit (1) comes before the repeating part. Multiply by 10 and by 100 so that both copies start their repeat right after the point: 10x = 1.666… and 100x = 16.666… Subtracting gives 90x = 15, so x = 15/90 = 1/6.

Example 4: 0.8333… 100x = 83.333… and 10x = 8.333…, so 90x = 75 and x = 75/90 = 5/6.

A shortcut you can use without algebra

The same logic shows that 0.999… = 9/9 = 1 exactly. It is not "just below" 1; it is another way of writing 1.

Table of common values

FractionDecimalPercent
1/20.550%
1/30.333…33.33%
2/30.666…66.67%
1/40.2525%
3/40.7575%
1/50.220%
1/60.1666…16.67%
1/70.142857…14.29%
1/80.12512.5%
3/80.37537.5%
5/80.62562.5%
7/80.87587.5%
1/90.111…11.11%
1/100.110%
1/120.08333…8.33%
1/160.06256.25%
1/200.055%
1/250.044%

Percentages for repeating decimals are rounded to two decimal places.

Comparing and approximating

Decimals make comparison easy. Which is larger, 5/8 or 7/11? 5/8 = 0.625 and 7/11 = 0.6363…, so 7/11 is larger, though only slightly.

Fractions can also approximate awkward decimals. The well-known 22/7 = 3.142857… is close to π = 3.14159…, correct to two decimal places. 355/113 = 3.14159292… is correct to six decimal places, remarkable for such small numbers.

What your calculator shows

A calculator can only show a limited number of digits, so 2/3 appears as something like 0.666666666667, with the last digit rounded up. That display is an approximation. If you copy it and multiply by 3, you may get 2.000000000001 on some devices rather than exactly 2. When you need an exact answer, keep the fraction, or use the fraction calculator, which works with whole-number tops and bottoms and never rounds. More on rounded displays is in the rounding guide.

Common mistakes

FAQ

Is 0.1666… the same as 1/6?
Yes, exactly. The algebra above shows 90x = 15, which gives 1/6.

Can every decimal be written as a fraction?
Every terminating or repeating decimal can. Decimals that never end and never repeat, such as π or √2, cannot be written as a fraction of whole numbers.

How do I write 0.5% as a fraction?
0.5% = 0.005 = 5/1,000 = 1/200.

Open the calculator: Fraction Calculator →

Related guide