The quick answer

Write the decimal over a power of ten, then reduce by the GCD. 0.625 = 625/1000, and dividing both by GCD 125 gives 5/8. A caliper reading of 0.8125 inches is exactly 13/16. The converter takes one decimal input and returns the reduced fraction, the mixed number, the unreduced ratio, the GCD, the percentage and the reciprocal, all in your browser.

Decimal to fraction: place value, then reduce

A decimal is a fraction wearing base-10 positional notation: 0.8125 means 8,125 ten-thousandths. Converting it back to a fraction translates the place values into an integer ratio and then reduces it to lowest terms with the Euclidean GCD algorithm. Woodworkers reading digital calipers, machinists interpreting prints, and statisticians converting probabilities all land on the same two-step path.

Euclid's algorithm: why 625/1000 becomes 5/8

Reduction is what separates a usable fraction from an unwieldy one. Take 0.625: unreduced it is 625/1000, which no workshop or recipe card would print. The Euclidean algorithm finds GCD(625, 1000) = 125; dividing both terms by 125 collapses it to 5/8, the same number in the form people actually use.

  • Step 1, decimal scaling: multiply the decimal by 10^k to clear the radix point.
  • Step 2, Euclidean remainder iteration: repeatedly apply a = q·b + r until the remainder r is 0.
  • Step 3, factor cancellation: divide numerator and denominator by the final non-zero remainder g.
  • Step 4, mixed number separation: if the absolute value of N is at least D, extract the integer quotient W = N/D rounded down and the remainder fraction R/D.

Four worked conversion scenarios

Four worked examples show the conversion where decimals originate: a caliper measurement in the workshop, a bond-market tick spread, a recipe specifying 0.625 quarts, and a statistical significance threshold of 0.05.

Common decimals and their reduced fractions

The reference table pairs the everyday decimals (sixteenths, eighths, common probabilities) with their GCDs and irreducible fractions, so the most frequent conversions can be read off at a glance instead of recomputed.

Decimal InputUnreduced FormGreatest Common DivisorReduced FractionMixed NumberPercentage Equivalent
0.055/10051/20proper fraction5.00%
0.1010/100101/10proper fraction10.00%
0.125125/10001251/8proper fraction12.50%
0.2020/100201/5proper fraction20.00%
0.2525/100251/4proper fraction25.00%
0.375375/10001253/8proper fraction37.50%
0.5050/100501/2proper fraction50.00%
0.625625/10001255/8proper fraction62.50%
0.7575/100253/4proper fraction75.00%
0.875875/10001257/8proper fraction87.50%
1.25125/100255/41 1/4125.00%
2.687526875/1000062543/162 11/16268.75%

Frequently Asked Questions

How do you convert any decimal into a fraction?

Count the number of decimal digits (k), multiply the decimal by 10^k to make it a whole number numerator, set the denominator to 10^k, and divide both numerator and denominator by their greatest common divisor (GCD). For example, 0.375 has 3 decimal places: 375/1000 reduces by GCD 125 to 3/8.

How does Euclidean GCD reduction simplify fractions?

The Euclidean algorithm finds the largest integer that divides both the numerator and denominator without remainder. Dividing both terms by this greatest common divisor guarantees that the resulting fraction is in its lowest irreducible terms.

How do you convert decimals greater than 1 into mixed numbers?

Separate the integer part from the fractional decimal. Convert the decimal portion to a reduced fraction, then attach the integer in front. For example, 2.75 separates into 2 and 0.75. Since 0.75 = 3/4, the mixed number is 2 3/4 (or 11/4 as an improper fraction).

What is the difference between an improper fraction and a mixed number?

An improper fraction expresses values greater than 1 as a single fraction where the numerator is larger than the denominator (e.g., 5/4). A mixed number expresses the same value as a whole number combined with a proper fraction (e.g., 1 1/4).

Why do digital caliper readings often need to be converted to fractions?

Machinists, carpenters, and fabricators frequently measure dimensions in thousandths of an inch with digital calipers (e.g., 0.6875"), which must be mapped back to standard fractional wrench, drill bit, or bolt specifications (11/16").

Can every decimal be converted into a fraction?

Every terminating decimal and every repeating decimal can be converted into an exact fraction because both are rational numbers. Irrational numbers (such as Pi or the square root of 2), which have infinite non-repeating decimals, cannot be represented as exact integer fractions.

What happens if you enter a negative decimal?

The negative sign carries through to the simplified fraction. For example, -0.4 becomes -4/10, which reduces to -2/5. The absolute value and reduction procedure remain mathematically identical.

How do you find the reciprocal of a decimal fraction?

The reciprocal is 1 divided by the decimal, which inverts the simplified fraction. For example, 0.625 = 5/8; its reciprocal is 8/5 = 1.6 (or 1 3/5).

Why does entering more than 6 decimal places produce large fractions?

Each additional decimal place multiplies the unreduced denominator by another factor of 10. A number with 8 decimal places starts over a denominator of 100,000,000, which may yield large integer terms if it shares few common factors with 10.

Is my calculation private and secure?

Yes. All mathematical conversions run client-side in your web browser with zero server data transmissions, cookies, or telemetry.

Sources and further reading

  • NIST Special Publication 811: Guide for the Use of the International System of Units (SI) – Rules for Decimal and Fractional Quantities.
  • ISO 80000-1: Quantities and Units – Part 1: General (Representation of Ratios and Dimensionless Values).
  • Euclid's Elements (Book VII): Propositions 1 and 2 – The Greatest Common Divisor Algorithm.
  • IEEE 754-2019: Standard for Floating-Point Arithmetic – Exact Positional Conversions.