CalculatorVilla

Decimal to Fraction Calculator

Convert standard floating-point and terminating decimals into exact rational fractions in lowest terms. Shows numerator, denominator, and mixed number representations.

Simplified Fraction: 0

Decimal value to convert (e.g. 0.625 or 1.75)

Simplified Fraction
0

How to Use This Calculator

  1. Enter the decimal number in the input box.
  2. View the simplified proper or improper fraction immediately.
  3. Check the mixed number form and percentage representation.

Formula & Calculation Methodology

x = Numerator ÷ Denominator | Continued Fractions Expansion

Any terminating decimal is converted by placing digits over powers of 10 and dividing both by their greatest common divisor (GCD). Continued fractions resolve recurring patterns.

xDecimal input value
NumeratorInteger dividend after scale and reduction
DenominatorInteger divisor after scale and reduction

Worked Example

Converting 0.625

decimal: 0.625
Result: 5/8 (Percentage 62.5%)

Converting 1.75

decimal: 1.75
Result: 7/4 (Mixed 1 3/4, Percentage 175%)

Frequently Asked Questions

How does 0.625 convert to 5/8?↓

0.625 is written as 625/1000. Dividing both numerator and denominator by their greatest common divisor (125) produces 5/8.

Can negative decimals be converted?↓

Yes. The negative sign is carried directly into the fraction numerator (e.g. -0.5 converts to -1/2).

Can all numbers be converted to a fraction?↓

Only rational numbers can be represented as fractions. Irrational numbers like pi or sqrt(2) have non-terminating, non-repeating decimals and can only be approximated.

What is the conversion precision limit?↓

The algorithm evaluates fractions up to a denominator of 100,000 to guarantee fast, exact conversions without freezing.

Related Calculators

Source Citation & Disclaimer

Informational tool only; not licensed tax, legal, or financial advice.