Decimal ↔ Fraction Converter
Convert decimals to fractions - and fractions to decimals - instantly. Choose direction and get simplified results fast.
How the Decimal ↔ Fraction Converter Works
This tool supports both directions: decimal to fraction and fraction to decimal.
For decimal → fraction, it searches for a simplified fraction approximation using a denominator limit you control. For fraction → decimal, it divides numerator by denominator and shows the simplified fraction too.
- Decimal → Fraction: Find a simplified fraction approximation for a decimal number.
- Fraction → Decimal: Convert numerator/denominator into a decimal instantly.
- Max denominator: Controls simplicity vs precision when approximating decimals.
- Local: Runs in your browser - no uploads or storage.
When to Use Decimal and Fraction Conversion
Fractions are common in measurements and everyday tasks, while decimals are common in calculators and spreadsheets.
Being able to convert both ways makes it easy to compare values, simplify inputs, and avoid mistakes.
- School & math: Homework, quizzes, and quick practice conversions.
- Cooking & recipes: Convert between fractional and decimal measurements.
- DIY & measurements: Compare ruler-style fractions with decimal values.
- Spreadsheets: Convert fractions to decimals for formulas.
FAQ
How do I convert a decimal to a fraction?
Choose Decimal → Fraction, enter your decimal, and the tool finds a simplified fraction approximation (controlled by the max denominator).
How do I convert a fraction to a decimal?
Choose Fraction → Decimal and enter numerator and denominator. The decimal is calculated instantly, and the fraction is shown simplified.
Why is there a max denominator setting?
It controls how simple the fraction should be. Lower max denominators produce simpler fractions, while higher values can match more precise decimals.
Is this converter exact for repeating decimals like 0.3333?
Repeating decimals often need approximation. Increasing the max denominator usually finds the expected fraction (like 1/3).
Do you upload or store my inputs?
No. Everything runs locally in your browser.