Calculator Bar

Decimal to Fraction Calculator

Decimal to Fraction Calculator

Repeating decimal? Put the repeating digits in brackets, like 0.1(6), or end with three dots, like 0.333...

—

How to convert a decimal to a fraction

  1. Count the digits after the decimal point. That many zeros after a 1 gives the bottom number: 1 place is 10, 2 places is 100, 3 places is 1000.
  2. Write the decimal's digits, without the point, over that number.
  3. Find the greatest common factor (GCF) of the top and bottom, and divide both by it.
  4. If the top is bigger than the bottom, you can rewrite it as a mixed number.
0.375 has 3 decimal places → 375/1000 GCF(375, 1000) = 125 375 ÷ 125 = 3 and 1000 ÷ 125 = 8 0.375 = 3/8

For a number like 2.75, the same steps give 275/100 = 11/4, and 11 ÷ 4 = 2 remainder 3, so 2.75 = 2 3/4. A negative decimal works the same way: convert it without the minus sign, then put the sign back, so −0.625 = −5/8. If you get stuck on the GCF step, the GCF calculator shows how to find it.

Repeating decimals

A repeating decimal never ends, so you can't put it over 10 or 100. Instead, multiply it so the repeating parts line up, and subtract to make them cancel:

x = 0.1666… 100x = 16.666… (point moved past one repeat) 10x = 1.666… (point moved to where the repeats start) 90x = 15 (100x − 10x) x = 15/90 = 1/6

The shortcut: the bottom number is one 9 for each repeating digit, followed by one 0 for each digit between the point and the repeats. So 0.(3) = 3/9 = 1/3, 0.(36) = 36/99 = 4/11, and 0.1(6) = (16 − 1)/90 = 1/6. This also shows why 0.999… repeating is exactly 1: it's 9/9.

Common decimals as fractions

DecimalFractionDecimalFraction
0.06251/160.56259/16
0.1251/80.6255/8
0.18753/160.687511/16
0.251/40.753/4
0.31255/160.812513/16
0.3753/80.8757/8
0.43757/160.937515/16
0.51/21.01
0.11/100.21/5
0.333…1/30.666…2/3
0.1666…1/60.8333…5/6

The 16ths in the top rows are the marks on a standard tape measure, which is why decimal inches from a plan or a digital caliper often need rounding to one of them. A decimal is also a percentage in disguise: 0.375 is 37.5%, which the percentage calculator can take from there.

Rounding to a fraction

Most decimals from measuring or dividing aren't neat 16ths. "Nearest 1/16" multiplies the decimal by 16 and rounds to the nearest whole number, with exact halves rounding up: 0.3 × 16 = 4.8, so 5/16. "Closest, denominator up to 100" finds the fraction nearest to your decimal among all fractions with a bottom number of 100 or less, using continued fractions. For 3.14159 that's 311/99; with a cap of 10 it's the familiar 22/7. Either way the calculator shows how far the fraction is from your decimal.

Assumptions: the decimal you type is taken as exact (0.3 means exactly 3/10), up to 15 digits on each side of the point. Fractions are shown with a slash, and mixed numbers as a whole number, a space and a fraction, like 2 3/4.

Frequently asked questions

How do you turn a decimal into a fraction?

Write the digits after the point over 10, 100, 1000 and so on (one zero per decimal place), then divide the top and bottom by their greatest common factor. 0.375 = 375/1000, the GCF is 125, so 0.375 = 3/8.

What is 0.333… as a fraction?

Exactly 1/3. Call it x, then 10x = 3.333…; subtracting x cancels the repeating 3s and leaves 9x = 3, so x = 3/9 = 1/3. In the calculator, type 0.333... or 0.(3).

How do I type a repeating decimal?

Put the repeating digits in brackets, like 0.1(6) for 0.1666… or 0.(142857) for 0.142857142857…. You can also type three dots after a few repeats, like 0.1666... or 0.1212...; the calculator takes the block that repeats at the end.

What is 0.3 as a fraction?

3/10. One decimal place means tenths, and 3 and 10 share no common factor, so it's already in simplest form.

How do I convert a decimal measurement to 16ths of an inch?

Multiply the decimal part by 16 and round to the nearest whole number; that's how many 16ths. 0.3 in × 16 = 4.8, which rounds to 5, so it's about 5/16 in. Choose "Nearest 1/16" in the calculator to get this, along with how far off the rounded mark is.

See also

Last updated: November 23, 2026