Decimal to Fraction Converter

Convert a decimal number into a simplified fraction.

Decimal to Fraction

Convert decimal numbers to fractions

Tips:

  • • Enter decimals like 0.75, 1.25, or 0.333
  • • Maximum 6 decimal places recommended

How Decimal to Fraction Conversion Works

A decimal can be converted to a fraction by writing it over a power of 10, then simplifying.

Example: 0.75 = 75/100 = 3/4

Steps

  1. 1
    Count decimal places (e.g., 0.125 has 3 places).
  2. 2
    Write as an integer over 10^places (125/1000).
  3. 3
    Simplify the fraction by dividing numerator and denominator by their GCD.

Examples

DecimalFractionSimplified
0.55/101/2
0.7575/1003/4
2.1252125/100017/8

Common Mistakes

  • Forgetting to simplify the final fraction.
  • Confusing repeating decimals (0.333...) with rounded decimals (0.33).
  • Typing commas instead of decimal points depending on locale.

Decimal to Fraction FAQs

Q

How do you convert a decimal to a fraction?

Write it over a power of 10 and simplify. Example: 0.75 = 75/100 = 3/4.

Q

Does the calculator simplify fractions automatically?

Yes, it should reduce to lowest terms using the GCD.

Q

How do you handle whole numbers like 2.5?

Convert the decimal part: 2.5 = 25/10 = 5/2, so it becomes 5/2.

Q

What is lowest terms?

When numerator and denominator share no common factor except 1.

Q

Why does 0.125 become 1/8?

0.125 = 125/1000, simplify by 125 → 1/8.

Q

Can repeating decimals be converted exactly?

Yes, but you must enter the repeating pattern, not a rounded value.

Q

If I enter 0.33, will I get 1/3?

Not exactly. 0.33 is 33/100. 1/3 is 0.333..., so 0.33 is only an approximation.

Q

What if my decimal is negative?

The fraction will also be negative after conversion.

Q

What if the decimal has many digits?

It will still convert, but simplifying may be heavier depending on length.

Q

Is 0.1 equal to 1/10 always?

Mathematically yes, but some programming systems represent 0.1 approximately in binary.