Skip to content
GraphingCalc84

Decimal to Fraction Calculator & Fraction Converter

Type a decimal and get the exact fraction in lowest terms, the mixed number and the percent — with the place-value steps so you can do it without a calculator next time.

Decimal → exact fraction

Exact fraction

3/8
Decimal
0.375
Percent
37.5%
EXACT FRACTION3/8
  1. Formulax
  2. Substitute(0.375)
  3. Evaluate0.375

How to convert a decimal to a fraction without a calculator

Every terminating decimal is a fraction with a power of ten in the denominator. The method has two steps:

  1. Place value: count the digits after the decimal point. One digit means tenths, two hundredths, three thousandths. So .
  2. Simplify: divide the numerator and denominator by their greatest common factor (GCF). , so .

That is exactly what the workspace shows for its default input, 0.375. For numbers greater than 1, keep the whole part aside: .

Worked examples from real questions

DecimalOver power of 10GCFSimplest form
0.843753125
0.45 (45%)5
3.662
0.1655
1.655
0.0625625

A shortcut for spotting the GCF: if the denominator is , the simplified denominator can only contain 2s and 5s. That is why (32 = 2⁵) and (20 = 2²·5) appear, but never a denominator like 3 or 7.

Convert a repeating decimal to a fraction: the algebra trick

The rule above has a converse: a fraction in lowest terms has a terminating decimal only if its denominator has no prime factors other than 2 and 5. Everything else repeats. repeats with period 6; starts repeating after two digits.

To go back from a repeating decimal to a fraction:

  • Pure repeat: . Then , subtract: , so .
  • Delayed repeat: . Then , so .
  • The famous one: , because gives .

Calculator trap: typing 0.33 gives , not . A calculator only sees the digits you enter. Type enough repeats (0.333333333333) or enter the fraction directly to get .

Decimal to fraction chart for inches

Shop drawings, drill bits and tape measures use binary fractions. Multiply by 16 and round to get sixteenths:

Decimal (in)0.06250.1250.18750.250.31250.3750.43750.5
Fraction1/161/83/161/45/163/87/161/2

Continue by adding : 0.5625 = 9/16, 0.625 = 5/8, 0.6875 = 11/16, 0.75 = 3/4, 0.8125 = 13/16, 0.875 = 7/8, 0.9375 = 15/16. For a measurement such as 0.3 in, which is not an exact sixteenth, round: , so about 5/16 in (0.3125), an error of 0.0125 in.

Keystroke reference: ►Frac and the ◄► toggle

Task84-series styleTI-30XS MultiView styleGraphingCalc84
Decimal → fractionMATH → 1: ►Frac◄► toggleAutomatic
Fraction → decimalMATH → 2: ►Dec◄► toggleShown with the result
Enter a stacked fractionALPHA Y= → n/d (MathPrint)n/dType a/b in the scientific calculator
Mixed numberALPHA Y= → Un/d2nd n/dShown alongside improper form

How the decimal to fraction calculator works

For decimals that are really approximations — like 3.14159265 — the converter uses continued fractions, which find the simplest fraction within a tolerance. That is how is found (correct to six decimal places), while the school approximation is only good to two. The methodology page lists the tolerance, and OpenStax Prealgebra has a full chapter on decimals and fractions with practice problems.

Fraction to decimal calculator: common equivalents

Going the other way is a single division: numerator ÷ denominator. These are worth memorising because they appear constantly in tests, recipes and measurements:

FractionDecimalPercentFractionDecimalPercent
1/20.550%1/80.12512.5%
1/30.333…33.3%3/80.37537.5%
2/30.666…66.7%5/80.62562.5%
1/40.2525%7/80.87587.5%
3/40.7575%1/60.1666…16.7%
1/50.220%1/120.08333…8.3%

To turn any fraction into a percent, divide and multiply by 100: . To turn a percent into a fraction, write it over 100 and simplify, as with above. A percent with a decimal, such as 12.5%, becomes .

Three mistakes that cost marks

  • Stopping before simplest form: is correct but not simplified; divide by 2 to get .
  • Miscounting places: 0.05 is five hundredths, , not .
  • Treating a rounded decimal as exact: 0.67 is ; only 0.666… is .

When a result must be exact, keep the fraction through every step of a calculation and convert to a decimal only at the very end.

Convert decimal to fraction step by step: improper fractions, mixed numbers and percents

Converting a decimal number by hand takes the same four moves a fraction calculator makes:

  1. Step 1: remove the decimal. Write the digits over 10 to the power of the number of decimal places. 2.375 has three decimal places, so 2.375 = 2375/1000.
  2. Step 2: find the greatest common divisor of the numerator and the denominator: gcd(2375, 1000) = 125.
  3. Step 3: reduce the fraction. Dividing both by 125 gives 19/8, an improper fraction because the numerator is larger than the denominator.
  4. Step 4: write a mixed number if you need one. 19 ÷ 8 = 2 remainder 3, so 2.375 = 2 3/8.

Going the other way, a fraction to a decimal is plain division: 3/8 = 0.375. To convert a fraction to percent, multiply the numerator by 100 before dividing: 300 ÷ 8 = 37.5, so 3/8 = 37.5%.

A repeating decimal like 0.333… has no last digit, so there is no power of 10 to put it over. Instead set x = 0.333… and multiply both sides by 10: 10x = 3.333…. Subtracting gives 9x = 3, so x = 1/3. If the repeat does not start right after the decimal point, first shift to the start of the repeating block: for 0.1666…, 10x = 1.666… and 100x = 16.666…, so 90x = 15 and x = 1/6 once you simplify the fraction.

A ten-digit decimal calculator shows 1/3 as 0.3333333333; turned into a decimal as a fraction literally, that is 3333333333/10000000000, not 1/3. When a display ends in a long run of the same digit, treat it as a repeating decimal and use the algebra above.

Frequently asked questions

How do you convert a decimal to a fraction?
Write the digits over the matching power of ten, then simplify by the greatest common factor. 0.375 has three decimal places, so 0.375 = 375/1000; the GCF of 375 and 1000 is 125, giving 3/8.
What is .84375 as a fraction?
0.84375 = 84375/100000. Dividing top and bottom by the GCF 3125 gives 27/32. Check: 27 ÷ 32 = 0.84375 exactly.
What is 45% as a fraction?
Percent means per hundred, so 45% = 45/100. The GCF is 5, giving 9/20. As a decimal it is 0.45.
What is 3.66 as a fraction?
3.66 = 366/100 = 183/50 in simplest form, or the mixed number 3 33/50. If you meant the repeating decimal 3.666…, the answer is different: 3 2/3 = 11/3.
How do I convert a repeating decimal to a fraction?
Let x equal the decimal, multiply by 10ⁿ where n is the repeat length, and subtract. For x = 0.272727…, 100x = 27.2727…, so 99x = 27 and x = 27/99 = 3/11.
How do I convert a decimal to inches fractions?
Multiply the decimal by 16 (or 32, 64) and round to a whole number of sixteenths: 0.3125 × 16 = 5, so 0.3125 in = 5/16 in. 0.6875 × 16 = 11, giving 11/16 in. Simplify if possible: 0.375 × 16 = 6, and 6/16 = 3/8 in.
How do I convert a decimal to a fraction on a calculator?
On an 84-series handheld type the decimal, press MATH → 1: ►Frac, then ENTER. On a TI-30XS MultiView style handheld, press the ◄► toggle key to switch between decimal and fraction forms. Here the fraction appears as soon as you type.