What is Decimal to Fraction Calculator?
Converts floating-point decimals into exact fractional representations (p/q) reduced to lowest terms by dividing numerator and denominator by their greatest common factor.
How to Use This Calculator
- Enter any positive or negative decimal number.
- Review the equivalent reduced fraction and mixed number.
The Mathematical Formula & Variables
Multiply by 10^k where k is decimal digits, then reduce by GCD
Step-by-Step Worked Example
Scenario: Convert 0.375 to a simplified fraction.
- 3 decimal places: 0.375 = 375 / 1000.
- GCD(375, 1000) = 125.
- 375 / 125 = 3; 1000 / 125 = 8.
Result: 3/8
Frequently Asked Questions
How does the calculator simplify fractions?
It calculates the Greatest Common Divisor (GCD) using the Euclidean algorithm and divides both numerator and denominator by it.