Fraction and Decimal Converter

Turn a decimal into the nearest simple fraction, or a fraction into a decimal and a percentage.

Decimal to fraction

3/8Exact

Fraction to decimal

0.37537.5%

Decimal to fraction

Write the decimal over a power of ten and reduce. The decimal 0.375 is 375/1000. Dividing top and bottom by their greatest common divisor, 125, gives 3/8.

Sometimes a simpler fraction is more useful than an exact one. Choose a largest denominator and the tool finds the closest fraction that fits. With a limit of 8, the decimal 0.3 becomes 2/7 (about 0.2857), the nearest fraction whose denominator is 8 or less.

Fraction to decimal

Divide the numerator by the denominator: 3 ÷ 8 = 0.375. Multiply by 100 for the percentage, 37.5%. Some fractions never end as decimals. One third is 0.3333… with the 3 repeating forever, so the display is rounded.

Common fractions

FractionDecimalPercent
1/160.06256.25%
1/80.12512.5%
1/40.2525%
1/30.3333…33.33%
3/80.37537.5%
1/20.550%
5/80.62562.5%
2/30.6667…66.67%
3/40.7575%
7/80.87587.5%

Worked example: Converting 0.375 and repeating 0.3333 to fractions

Here is how exact terminating decimals and repeating decimals behave when converted to fractions:

  • Terminating decimal `0.375` to fraction: Because there are 3 decimal places, write `375 / 1,000`. The greatest common divisor of 375 and 1,000 is `125` (`375 ÷ 125 = 3`, `1,000 ÷ 125 = 8`), yielding the exact fraction 3/8 (or `37.5%`).
  • Workshop measurement `2.625` inches: Separate the whole number `2` and convert `.625 = 625 / 1,000`. Divide top and bottom by `125` to get `5/8`, giving 2 5/8 inches (`21/8` as an improper fraction).
  • Fraction `7/16` to decimal: Divide `7 ÷ 16 = 0.4375` (`43.75%`), a standard drill-bit and wrench increment.

Limits and what this tool cannot do

  • Repeating decimals typed as rounded strings: If you type `0.33` (two threes), its exact mathematical value is `33/100`, whereas typing `0.333333` approximates `1/3` depending on denominator search depth.
  • Irrational numbers (`π`, `√2`) have no exact fraction: Irrational numbers cannot be written as a ratio of two integers; the converter returns a rational approximation within standard denominator bounds (such as `355/113` or `314159/100000`).
  • Extremely large 15+ digit denominators: IEEE 754 double-precision numbers carry 53 bits of significand (~15–17 decimal digits), so fractions with denominators in the quadrillions lose last-digit precision.

Frequently asked questions

What is 0.75 as a fraction?

0.75 is 75/100, which reduces to 3/4.

How do I enter a mixed number?

Type the whole number, a space, and then the fraction, for example 1 3/4.

How can I tell if a fraction will produce a terminating or repeating decimal?

Once simplified to lowest terms, a fraction terminates in base 10 if and only if its denominator's prime factors are exclusively 2s and/or 5s (like 1/8, 3/20, or 7/40). Any other prime factor in the denominator (such as 3, 7, 11, or 13) produces a repeating decimal.

What is the closest fractional inch on a tape measure for 0.8mm or 0.70 inches?

Standard tape measures are marked in 16ths or 32nds of an inch. Multiply your decimal inch by 16 (for example `0.70 × 16 = 11.2`), so the nearest 16th-inch mark is 11/16 inch (`0.6875`).

How does simplifying a fraction with GCD work?

The Euclidean algorithm repeatedly takes the remainder of dividing the larger number by the smaller until the remainder is zero; the last non-zero divisor is the greatest common divisor used to reduce both numerator and denominator.

Think a conversion is incorrect? Email contact@sjwebtechwork.com with the page address, the value you entered, the result you saw and the result you expected.