Skip to content
ENExplore Calculators

Decimal to Fraction Calculator

Convert any decimal number to a fully reduced fraction using integer arithmetic.

About Decimal to Fraction Calculator

To convert a decimal to a fraction: write the decimal over 1, multiply top and bottom by 10 for each decimal place, then simplify by dividing both by their GCD. The result is an exact reduced fraction.

Formula

Decimal to Fraction

Fraction = (decimal × 10^n) / 10^n, then divide both by GCD

d
The decimal value
n
Number of decimal places

Worked example

With the default values below, Decimal to Fraction Calculator returns Simplified Fraction of 3/8. Change any input above and every figure here is recalculated in your browser.

Inputs used

Decimal Number
0.375

Results

Simplified Fraction
3/8
Mixed Number
3/8
Numerator
3
Denominator
8

Step by step

  1. 1Express as fraction over power of 10
  2. 2Find GCD
  3. 3Simplify= 3/8

Assumptions and limits

  • The result is derived only from the single input listed above. Anything not among them is not part of the calculation.
  • In particular, this calculator does not take inflation, tax, fees or charges or compounding frequency into account.
  • Figures are rounded for display to whole numbers, so totals built from several rounded parts can differ slightly from the unrounded arithmetic.

How these calculators are built and tested is described on the Methodology page. If a figure looks wrong, please report it.

Frequently Asked Questions

Can every decimal be converted to a fraction?

Every terminating decimal and every repeating decimal can be written as a fraction (they are rational numbers). Non-repeating infinite decimals like π cannot.

How does this handle repeating decimals?

This calculator works with the finite decimal you enter. For a repeating decimal like 0.333..., enter enough digits for a close approximation or use the exact value 1/3 directly.

Decimal to Fraction Calculator | Calcrivo