InovoTools
Math Tools

Decimal to Fraction Calculator

Turn any decimal into its simplest fraction. Repeating-looking decimals such as 0.3333 are matched to the closest sensible fraction within the denominator limit you set, which is handy for measurements, recipes and woodworking where you need 1/8 or 3/16 rather than 0.1875.

01

Your inputs

Start with the example, or enter your own values.

Processed in your browser. Your inputs stay on this device.

02

Your result

A little clarity, coming right up.

Make room for the answer.

Enter your values and run the tool. Your result will appear here.

How to use the Decimal to Fraction Calculator

Fill in the fields above and the result appears straight away. Everything runs in your browser, so nothing you type is uploaded.

How it works

Write the decimal over a power of ten and reduce.

Examples

  • 0.375 as a fraction
    Exact fraction: 3/8
  • 0.125 as a fraction
    Exact fraction: 1/8
  • 0.3333 limited to denominators up to 100
    Exact fraction: 3333/10000
    Closest fraction with denominator up to 100: 1/3

Limitations and assumptions

Repeating decimals such as 0.333 are exact as typed; use the closest-fraction line for the intended value (1/3).

Frequently asked questions

How do I convert a decimal to a fraction by hand?

Write the decimal over a power of ten (0.375 = 375/1000), then divide the top and bottom by their greatest common divisor to get 3/8.

What is 0.5 as a fraction?

1/2.

Why does 0.3333 not give exactly 1/3?

It is a rounded decimal. Set a smaller maximum denominator and the closest simple fraction, 1/3, is returned.

How do I go the other way?

Use the fraction to decimal calculator, which divides the numerator by the denominator.