Decimal to Fraction Calculator

Convert any decimal to its simplest fraction form quickly.

This tool helps students, teachers, and parents simplify decimal values for math assignments, lesson planning, and homework checks.

It supports repeating decimals and custom precision settings for academic use.

✏️

Decimal to Fraction Calculator

Enter the digit(s) that repeat. For 0.1666..., enter 6. For 0.142857..., enter 142857.

📊Calculation Results

Simplified Fraction
Mixed Number
Improper Fraction
Decimal Equivalent
Calculation Steps

    How to Use This Tool

    Follow these steps to convert any decimal to a simplified fraction:

    1. Enter your decimal value in the input field. This can be positive, negative, or include leading zeros (e.g., -0.75, .5, 1.25).
    2. Select whether your decimal is terminating (ends, e.g., 0.5) or repeating (has a repeating digit pattern, e.g., 0.333...).
    3. If you selected repeating, enter the digit(s) that repeat in the "Repeating Digit(s)" field. For 0.1666..., enter 6. For 0.142857..., enter 142857.
    4. Click the Calculate button to see your results.
    5. Use the Reset button to clear all inputs and start a new calculation.
    6. Click "Copy Simplified Fraction" to copy the result to your clipboard for use in assignments or notes.

    Formula and Logic

    This calculator uses two core methods depending on the decimal type:

    Terminating Decimals

    For decimals that end (e.g., 0.75), the tool counts the number of decimal places, writes the decimal as a fraction over 10^n (where n is the number of decimal places), then simplifies using the Greatest Common Divisor (GCD). For 0.75: 2 decimal places → 75/100 → GCD of 75 and 100 is 25 → simplified to 3/4.

    Repeating Decimals

    For decimals with a repeating pattern (e.g., 0.333...), the tool uses algebraic manipulation: let x equal the decimal, multiply by 10^m (where m is the number of non-repeating decimal places) and 10^(m+k) (where k is the length of the repeating pattern), subtract the two values to eliminate the repeating part, then simplify. For 0.333...: x=0.333..., 10x=3.333..., subtract to get 9x=3 → x=3/9 → simplified to 1/3.

    Practical Notes

    These education-specific tips will help you use this tool effectively for academic work:

    • Always simplify fractions to lowest terms for math assignments, as most teachers require this format.
    • For repeating decimals, double-check that you only enter the repeating digit(s) in the dedicated field, not the full decimal. Enter 0.3 (not 0.333) for 0.333... with repeating digit 3.
    • Mixed numbers are often preferred for final answers in K-12 math, while improper fractions are more common in higher-level algebra and calculus.
    • Use the step-by-step breakdown to show your work for homework or test prep, as teachers often require process documentation.
    • This tool supports negative decimals, useful for calculating fractions for negative grades, temperature changes, or financial math problems in academic settings.

    Why This Tool Is Useful

    Students, teachers, and parents save time and reduce errors with this calculator:

    • Students can check homework answers, verify fraction simplification steps, and practice converting decimals to fractions for test prep.
    • Teachers can quickly generate examples for lesson plans, grade assignments faster, and create practice materials for students.
    • Parents helping with math homework can confirm their child's work without needing to memorize conversion rules.
    • The step-by-step breakdown helps users understand the conversion process, rather than just getting an answer, supporting long-term learning.

    Frequently Asked Questions

    Can I convert negative decimals to fractions?

    Yes, this tool fully supports negative decimals. Enter the negative sign before the decimal value (e.g., -0.5) and the tool will return the correct negative fraction.

    How do I enter a repeating decimal like 0.1666...?

    Enter 0.16 in the decimal field, select "Repeating" as the decimal type, then enter 6 in the repeating digits field. The tool will correctly calculate 1/6 as the simplified fraction.

    Why does the tool show both mixed numbers and improper fractions?

    Different academic levels and teachers prefer different formats. K-12 math often requires mixed numbers, while higher education and algebra courses typically use improper fractions. The tool provides both to meet all academic needs.

    Additional Guidance

    For best results when using this tool for academic work:

    • Always cross-check the decimal equivalent result with your original input to confirm the conversion is correct.
    • Use the copy-to-clipboard feature to avoid manual entry errors when transferring results to assignments or documents.
    • If you get an error, check that your decimal input does not include commas, spaces, or special characters other than a negative sign and decimal point.
    • For repeating decimals with long patterns (e.g., 0.142857...), make sure to enter the full repeating digit sequence to get the correct simplified fraction.
    • Save your calculation steps from the results panel to include in your math homework as required work.