Free to Use

Decimal to Fraction Converter

Convert any decimal number to a simplified fraction in simplest form. Supports terminating decimals and repeating decimals with detailed step-by-step solutions.

Real-World Decimal to Fraction Examples

๐Ÿ›’ Shopping: Sales Tax

A store adds sales tax of 0.0875 (8.75%) to your purchase.

0.0875 = 875/10000 = 7/80

The fraction 7/80 represents the sales tax rate in its simplest form.

๐Ÿ“ Construction: Tape Measure

A carpenter measures a board and finds it's 0.375 inches thick.

0.375 = 375/1000 = 3/8

3/8 inch is a common fraction used in construction and woodworking.

๐Ÿ’ฐ Finance: Interest Rate

A savings account offers an interest rate of 0.0325 (3.25%).

0.0325 = 325/10000 = 13/400

The fraction 13/400 represents the annual interest rate in simplified form.

โ™พ๏ธ Repeating Decimal: One Third

The decimal 0.333... (repeating 3) represents one third.

0.333... = 1/3

This is a classic example of a repeating decimal that equals a simple fraction.

Understanding Decimal to Fraction Conversion

Converting decimals to fractions is a fundamental math skill. The process depends on whether the decimal is terminating (ends after a finite number of digits) or repeating (has a pattern of digits that repeats infinitely).

Terminating Decimals

Fraction = (Decimal without decimal point) / (10^Number of decimal places)
Then simplify by dividing numerator and denominator by their GCD.

Example: 0.75 โ†’ 75/100 โ†’ GCD(75, 100) = 25 โ†’ 75รท25 / 100รท25 = 3/4

Repeating Decimals

Fraction = (Decimalร—10^n - Integer part) / (10^n - 1)
Where n is the number of repeating digits. Then simplify by dividing by GCD.

Example: 0.333... (repeating 3) โ†’ n=1, (0.333...ร—10 - 0) / (10 - 1) = 3/9 = 1/3

How to Convert Step by Step

1
Identify the type: Determine if the decimal is terminating or repeating
2
Write as fraction: For terminating, multiply by 10^n. For repeating, use the repeating formula
3
Find GCD: Calculate the Greatest Common Divisor of the numerator and denominator
4
Simplify: Divide both numerator and denominator by the GCD to get the simplest form
5
Verify: Divide the numerator by the denominator to confirm you get the original decimal

Quick Tips

๐Ÿ“Œ Know Your Decimals

A terminating decimal ends after a finite number of digits (like 0.75). A repeating decimal has a pattern that goes on forever (like 0.333...).

๐ŸŽฏ Always Simplify

After converting, always check that the fraction is in its lowest terms by dividing numerator and denominator by their GCD.

๐Ÿ”„ Common Fractions to Remember

0.5 = 1/2, 0.333... = 1/3, 0.25 = 1/4, 0.2 = 1/5, 0.1666... = 1/6, 0.125 = 1/8, 0.1 = 1/10

๐Ÿงฎ Mixed Numbers

For decimals greater than 1 (like 1.5), the result will be an improper fraction (3/2) which can also be written as a mixed number (1ยฝ).

โšก
Instant Conversion
Convert any decimal to a simplified fraction instantly with step-by-step solutions and detailed breakdowns.
โ™พ๏ธ
Repeating Decimals
Handle repeating decimals like 0.333..., 0.142857..., and 0.1666... with the special repeating digits input.
๐Ÿ“
Always Simplified
Every fraction is automatically reduced to its lowest terms using the Greatest Common Divisor (GCD) algorithm.
๐Ÿ“š
Educational Content
Includes real-world examples, step-by-step solutions, and formula explanations to help you understand the math.

What is a Decimal to Fraction Conversion?

Converting a decimal to a fraction means rewriting a decimal number as a ratio of two integers (a numerator and a denominator). This process is essential in mathematics, engineering, construction, and everyday life because fractions are often more intuitive and precise for representing parts of a whole.

Every decimal number can be expressed as a fraction. Terminating decimals have a finite number of digits after the decimal point (like 0.75, 0.125, 0.2). Repeating decimals have one or more digits that repeat infinitely (like 0.333..., 0.142857142857...). The conversion method differs slightly for each type, but the end result is always a simplified fraction in lowest terms.

Why Convert Decimals to Fractions?

Fractions are often preferred in cooking (ยฝ cup), construction (โ…œ inch), music (ยพ time), and education. They provide exact values without rounding errors, making them essential for precise measurements and calculations. Understanding how to convert between decimals and fractions is a fundamental math skill that builds number sense and mathematical flexibility.

When to Use a Decimal to Fraction Converter

Our decimal to fraction converter is useful in many real-world scenarios. Here are some common applications:

๐Ÿณ Cooking & Baking

Convert decimal measurements from digital scales to fraction-based recipes. 0.5 cups โ†’ ยฝ cup, 0.25 teaspoons โ†’ ยผ teaspoon.

๐Ÿ”จ Construction & DIY

Convert decimal measurements to fractions for tape measures and rulers. 0.375 inches โ†’ โ…œ inches, 0.0625 inches โ†’ 1/16 inches.

๐ŸŽต Music & Time Signatures

Understand time signatures and note durations. A dotted quarter note is 0.75 of a whole note, which equals ยพ of a beat in 4/4 time.

๐Ÿ’ฐ Financial Calculations

Convert interest rates and percentages to fractions for precise calculation. 0.0325 โ†’ 13/400, 0.0875 โ†’ 7/80.

Frequently Asked Questions

How do I convert a decimal to a fraction?
To convert a terminating decimal to a fraction, write the decimal digits as the numerator and a power of 10 as the denominator (based on the number of decimal places). Then simplify by dividing both by their Greatest Common Divisor (GCD). For example, 0.75 = 75/100, and dividing by GCD(75,100)=25 gives 3/4.
What is the difference between terminating and repeating decimals?
Terminating decimals have a finite number of digits after the decimal point that eventually end (e.g., 0.125, 0.75, 0.0625). Repeating decimals have one or more digits that repeat infinitely (e.g., 0.333..., 0.142857142857..., 0.1666...). Repeating decimals are written with a bar over the repeating digits (e.g., 0.3ฬ…, 0.142857ฬ…). Both types can be converted to fractions, but repeating decimals require a different formula.
How do I convert a repeating decimal to a fraction?
To convert a repeating decimal to a fraction, use the formula: (Decimal ร— 10^n - Integer part) / (10^n - 1), where n is the number of repeating digits. For example, 0.333... (n=1, repeating 3): (0.333... ร— 10 - 0) / (10 - 1) = 3.333... / 9 = 3/9 = 1/3. For 0.142857142857... (n=6, repeating 142857): (0.142857... ร— 10^6 - 0) / (10^6 - 1) = 142857/999999 = 1/7.
Can every decimal be converted to a fraction?
Yes, every decimal number can be expressed as a fraction. Terminating decimals are rational numbers and can always be written as a fraction of two integers. Repeating decimals are also rational numbers and can be converted using the repeating decimal formula. Even irrational numbers like ฯ€ (3.14159...) can be approximated as fractions, though they cannot be represented exactly as the ratio of two integers.
What is the GCD and why is it important?
The Greatest Common Divisor (GCD), also called the Greatest Common Factor (GCF), is the largest number that divides both the numerator and denominator without leaving a remainder. It's important because dividing both the numerator and denominator by the GCD gives you the fraction in its simplest form. For example, GCD(75, 100) = 25, so 75/100 simplifies to 3/4. Using the GCD ensures the fraction is reduced to lowest terms.
How do I convert a decimal greater than 1 to a fraction?
For decimals greater than 1 (like 1.5 or 3.25), the process is the same. Convert the decimal part to a fraction and combine it with the whole number. For example, 1.5 = 1 + 0.5 = 1 + 1/2 = 3/2 (improper fraction) or 1ยฝ (mixed number). For 3.25 = 3 + 0.25 = 3 + 1/4 = 13/4 or 3ยผ. Our calculator shows both the improper fraction and identifies the decimal type.

โš ๏ธ Important Note: This Decimal to Fraction Converter provides accurate mathematical results based on standard conversion algorithms. While the calculator handles both terminating and repeating decimals, very long repeating patterns may be limited by JavaScript's floating-point precision. For critical mathematical work, always verify results independently.