½ Decimal to Fraction Calculator

Convert a terminating decimal to a fraction using a user-selected number of decimal places.

No ratings yet — be the first

Enter details

Decimal → fraction
= ?usingdecimal places
  • Decimal Number
  • Decimal Places — Enter the number of digits after the decimal point used to represent the value.

Log in or create a free account to save your inputs and results, so you don't have to enter them again next time.🔒 No spam, ever. We never sell or share your details, and you can delete your history or account at any time. Privacy policy

Fill in the details and click Calculate to see your results.

Formula at a glance

Decimal to Fraction formula: Numerator = round(decimal x 10^p); denominator = 10^p
How the decimal to fraction works: Numerator = round(decimal x 10^p); denominator = 10^p

Rate this calculator

Was it useful? A quick star rating helps others — and you can leave a comment too.
Rate it: ★ ★ ★ ★ ★

📘 About the Decimal to Fraction Calculator

To turn a decimal into a fraction, write it over 10, 100, 1000 or more — one zero for each decimal place — and simplify. For example 0.75 = 75/100 = 3/4.

Enter any decimal; the calculator gives the fraction in simplest form, the mixed number, the working and, for long decimals, the closest simple fraction.

🧮 Formula

Formula
Numerator = round(decimal x 10^p); denominator = 10^p
Numerator = round(decimal x 10^p); denominator = 10^p

✏️ Worked examples

0.75

You enter
Decimal Number0.75
Decimal Places2
You get
0.75 as a fraction3/4
As a mixed number3/4
Working0.75 = 75/100 = 3/4 (÷ 25)
As a percentage75%

3/4.

2.125

You enter
Decimal Number2.125
Decimal Places3
You get
2.125 as a fraction17/8
As a mixed number2 1/8
Working2.125 = 2125/1000 = 17/8 (÷ 125)
As a percentage212.5%

17/8 = 2 1/8.

0.333

You enter
Decimal Number0.333
Decimal Places3
You get
0.333 as a fraction333/1000
As a mixed number333/1000
Working0.333 = 333/1000 = 333/1000
As a percentage33.3%
Closest simple fraction1/3 (≈ 0.3333333333)

333/1000.

🧭 How to use this calculator

What you enter

  • Decimal Number
  • Decimal PlacesEnter the number of digits after the decimal point used to represent the value.

What you get

  • Fraction Numerator
  • Fraction Denominator
  • Decimal Check

💡 Important notes

  • This calculator is designed for terminating decimal representations.
  • Choose places carefully for values such as 0.333333.

❓ Frequently asked questions

How do I convert a decimal to a fraction?

Write the digits after the point over 10, 100 or 1000, then divide top and bottom by their GCD. 0.625 = 625/1000 = 5/8.

What is 0.2 as a fraction?

1/5.

What is 0.125 as a fraction?

1/8.