Free calculatorLive resultsSteps and sourcesEmbed on your site, free

Convert Decimals Fractions Calculator

Decimal to Fraction Converter works out Fraction and Numerator from Convert, Decimal value and How many trailing digits repeat. The default figures on this page give fraction of 3/8; change any entry and the result, the working and the sources update together.

Fraction
3/8
Decimal to Fraction Converter
Numerator
3
Denominator
8
As a mixed number
3/8
Decimal value
0.375
Exact decimal expansion
0.375
As a percent
37.5 %
Length of repeating block
0
Fraction is exact
Yes
Rounding error
0
Worked out from NIST Digital Library of Mathematical Functions, §1.2 and §27.1 (rational numbers and divisibility) and 2 other sources.

Your figures

Updates as you type
Used when converting a decimal to a fraction. A "%" sign is accepted.
Enter 1 for 0.333... (type 0.3), or 2 for 0.454545... (type 0.45). Leave at 0 for an ordinary terminating decimal.
Used when converting a fraction to a decimal. Accepts 5/8, 1 3/4 or 7.
Used by the two approximate modes: 16 gives sixteenths, 64 gives sixty-fourths.

How this is worked out

2 steps
  1. 0.375 has 3 decimal place(s), so write it as 375/10^3 and reduce.
  2. Decimal expansion: 0.375 (terminates).

Its 5 worked examples are re-run on every release, last on 15 September 2026. What changed

Sources and references

3 sources

What the Decimal to Fraction Converter calculates

Converts a decimal (including repeating decimals and percentages) into its exact fraction in lowest terms, or a fraction into its full decimal expansion, with optional rounding to a fixed denominator such as 16ths.

How to use this Decimal to Fraction Converter

Enter Convert, Decimal value, How many trailing digits repeat and Fraction. Fraction updates as you type, and “Use a worked example” loads checked figures you can adjust. Change one figure at a time to see what drives the result.

How the result is worked out

Open “How this is worked out” beside the result for the step-by-step calculation behind Fraction, Numerator and Denominator.

The method follows NIST Digital Library of Mathematical Functions, §1.2 and §27.1 (rational numbers and divisibility), G. H. Hardy and E. M. Wright, An Introduction to the Theory of Numbers, ch. X (decimals; the period of 1/q divides the order of 10 mod q) and Continued-fraction best rational approximation (Stern-Brocot convergents), as implemented by Python fractions.Fraction.limit_denominator.

0.375 is exactly 3/8 example

With Convert: decimal-to-fraction, Decimal value: 0.375, the calculator returns Fraction: 3/8, Numerator: 3, Denominator: 8. This example is checked against an independent source in the test suite.

Results are general information, not financial, tax, legal, medical or engineering advice. Check any decision that matters with a qualified professional.

Embed this calculator on your website

Copy this code into any page. The calculator appears with the figures currently entered, sizes itself to fit, and a small credit line links back here. Free, no account, no ads inside it, no tracking of your readers. Set your own figures and fixed fields; Personal removes the credit line, sets your colour and shows you which sites use it.

Preview

See something wrong? Report a problem with this calculator

Frequently asked questions

How do I turn decimals into a fraction?

Converts a decimal (including repeating decimals and percentages) into its exact fraction in lowest terms, or a fraction into its full decimal expansion, with optional rounding to a fixed denominator such as 16ths. Open “How this is worked out” beside the result to see each step for your own figures.

How do I convert 2.5 to a fraction?

It needs Convert, Decimal value, How many trailing digits repeat, Fraction, Fraction accuracy and Denominator N. Nothing else is required, and the figures stay in your browser.

What is 0.2 into a fraction?

Converts a decimal (including repeating decimals and percentages) into its exact fraction in lowest terms, or a fraction into its full decimal expansion, with optional rounding to a fixed denominator such as 16ths. On this page it is computed from Convert, Decimal value and How many trailing digits repeat and shown as Fraction, Numerator and Denominator.

How to convert 1.75 into a fraction?

The result gives Fraction, Numerator, Denominator, As a mixed number, Decimal value and Exact decimal expansion, each labelled with its unit so the figure can be read on its own.

What information do I need for the Decimal to Fraction Converter?

You need Convert, Decimal value, How many trailing digits repeat, Fraction, Fraction accuracy, Denominator N and Decimal places. The page opens with default figures that give fraction of 3/8, so you can see the scale before entering your own.

What does this Decimal to Fraction Converter show?

It shows Fraction, Numerator, Denominator, As a mixed number, Decimal value, Exact decimal expansion, As a percent and Repeating block, with the working and any warnings for your entries.

Related calculators

View all related calculators8 more