Decimal to Fraction Converter
Turn any decimal into its simplest fraction.
Result
How it is calculated
The tool counts the digits after the decimal point, d, and writes the number over 10d: the numerator is the value × 10d and the denominator is 10d. It then finds the greatest common divisor (GCD) with Euclid's algorithm and divides both parts by it, giving the lowest terms. A whole number comes back without a denominator, and the sign is kept in front. The input is read as the text you type, so only finite decimals work. Scientific notation is accepted (1e-5 gives 1/100000), and more than 15 decimals are rounded to 15. A repeating decimal such as 0.3333 gives 3333/10000, not 1/3, because the tool cannot know the digits repeat.
Worked example
Convert 0.375. There are 3 digits after the point, so the denominator is 103 = 1,000 and the numerator is 0.375 × 1,000 = 375, giving 375/1000. The GCD of 375 and 1000 is 125. Dividing both by 125 gives 3 and 8. The result is 3/8.
Common mistakes
- Typing 0.333 and expecting 1/3. The tool converts exactly what is written, giving 333/1000. Repeating decimals need the fraction typed another way.
- Using a decimal comma such as 0,375. The input expects a decimal point.
- Entering a rounded value and expecting the original fraction. 0.50 and 0.5 both reduce to 1/2, but 0.67 gives 67/100, not 2/3.
- Reading a fraction larger than 1 as wrong. 2.5 gives 5/2, an improper fraction, not 2 1/2.
About this calculator
This tool converts a decimal number into a fraction reduced to its simplest form — for example, turning 0.75 into 3/4 rather than leaving it as an unwieldy fraction over a power of ten — by finding the greatest common divisor between the numerator and denominator.
It is used by students and teachers working through math homework that requires fraction answers, by woodworkers and machinists converting a decimal measurement from a digital caliper into the nearest fraction of an inch used on a tape measure or drill bit set, and by cooks scaling a recipe that lists decimal quantities into more kitchen-friendly fractions.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments (1)
The tool gives the exact fraction of what you type, not the nearest ruler mark. A caliper reading of 0.31 inch becomes 31/100, which no tape measure shows. To get a usable fraction, multiply the reading by 16, round to a whole number, and put that over 16: 0.31 times 16 is 4.96, so 5/16, which the tool then confirms as 0.3125. What precision do you need, sixteenths, thirty-seconds or finer?