Math

Decimal to fraction calculator

Convert a finite decimal into its exact reduced fraction.

Free to useNo sign-upCalculated in your browser

Finite decimal

At most 12 digits before the point and 12 after it.

Digits only, with an optional leading minus. No commas or scientific notation.

The decimal stays in this browser.

Exact reduced fraction

A finite decimal such as 0.333333 is the fraction 333333/1000000. It is not the repeating decimal 0.333….

A finite decimal is a fraction with a power of ten

A finite decimal is an integer divided by a power of ten. The digits after the point tell you the power. 0.5 is 5/10, and dividing the numerator and denominator by 5 gives 1/2. 0.125 is 125/1000, which reduces to 1/8. 0.75 is 3/4. OpenStax Prealgebra treats a terminating decimal this way.

The page reads the characters you type. It does not pass the text through a binary floating-point number, so a 12-digit fraction keeps every digit. 0.000000000001 is exactly 1/1000000000000.

Reduction and mixed numbers

The greatest common divisor of the numerator and the denominator produces the reduced fraction. The denominator stays positive. Zero, including a typed minus zero, is 0/1. A result that is a whole number is shown as that integer, and the exact fraction is the integer over 1. 1.000 is 1000/1000, which reduces to 1/1 and displays as 1.

When the absolute value of the reduced fraction is greater than 1 and it is not a whole number, the page also shows a mixed number. 2.5 is 5/2 and 2 1/2. The sign belongs to the whole mixed number: −2.75 is −11/4 and −2 3/4, not a positive fraction with a separate negative sign on the remainder.

What 0.333333 is not

0.333333 has six finite digits, so it is 333333/1000000. It is not the repeating decimal 0.333…, and the page will not replace it with 1/3. Repeating-bar notation, scientific notation, commas, and a thirteenth digit are rejected.

Arithmetic on two fractions you already know belongs on the fraction calculator. A shared factor of whole numbers belongs on the GCF calculator, and a common multiple belongs on the LCM calculator.

Frequently asked questions

Why is 0.333333 not one third? One third does not terminate. The six digits 0.333333 stop. Their exact value is 333333/1000000, which is a little smaller than 1/3.

Does a trailing zero change the value? 1.000 is the same number as 1. The page still starts from 1000/1000, then reduces that fraction to 1/1 and shows the integer 1.

Sources & review

Last reviewed: . The formula is reproduced above so you can check the math independently.

How we check calculations and describe their limits

Exact terminating decimals only. Not a converter for repeating decimals such as 0.333….

Accessibility and student privacy

Our accessibility target is WCAG 2.1 AA. We use automated checks for keyboard operation, narrow layouts and readable alternatives to charts. Keyboard and screen reader behavior can vary by device and browser.Report an accessibility issue.

These tools have no ads, affiliate offers or sponsored content. No account is needed. Calculations run in your browser; your inputs and results are not sent to us or to analytics. Google Analytics may be used to measure site usage. See Privacy & analytics for details and how to turn it off.