web counter
Decimal Fraction Conversion

This calculator converts decimal numbers to fractions and fractions to mixed numbers. Enter how many decimal places the decimal number repeats for repeating decimals.

Decimal Fraction Conversion

Decimal
Whole Number
Fraction
/

Output

0
1/2
1
    Introduction

    Decimal Fraction Conversion Calculator

    Use this calculator to convert a decimal number to a fraction or mixed number. It can handle terminating decimals and repeating decimals when the repeating-digit count is specified. The result is reduced to lowest terms whenever possible.

    A decimal that ends and a decimal that repeats forever must be interpreted differently. For example, the terminating value 0.33333333 is exactly 33333333/100000000, while the repeating decimal 0.333... is exactly 1/3. Enter the repeating information correctly when the digits continue indefinitely.

    How to Use the Decimal to Fraction Converter

    1. Enter the decimal value, including a minus sign if the value is negative.

    2. For a terminating decimal, set the number of repeating decimal places to zero.

    3. For a repeating decimal, enter the number of digits in the repeating block.

    4. Read the simplified fraction and, when the absolute value is at least one, the mixed-number result.

    Example: for 0.1666..., the non-repeating digit is 1 and the repeating block is 6, so the repeating-digit count is 1. The exact result is 1/6.

    What Are Decimals and Fractions?

    A decimal uses place value based on powers of ten. Digits to the right of the decimal point represent tenths, hundredths, thousandths, and smaller powers of ten.

    A fraction is written as a numerator divided by a denominator. In a/b, a is the numerator and b is the denominator, with b not equal to zero. Fractions that represent the same value are equivalent; a fraction is in lowest terms when its numerator and denominator have no common factor greater than one.

    A rational number can be written as a fraction of two integers. Its decimal representation either terminates or eventually repeats. A nonterminating, nonrepeating decimal cannot be represented exactly as a fraction of two integers.

    How to Convert a Terminating Decimal to a Fraction

    If a terminating decimal has n digits after the decimal point, remove the decimal point to form an integer numerator and use 10n as the denominator. Then divide the numerator and denominator by their greatest common divisor.

    Decimal = Integer formed from the digits ÷ 10n

    Example: Convert 0.375 to a Fraction

    1. There are three decimal places, so the denominator is 103 = 1000.

    2. Write 0.375 as 375/1000.

    3. The greatest common divisor of 375 and 1000 is 125.

    4. Divide both values by 125: 375/1000 = 3/8.

    0.375 = 3/8

    Example: Convert −2.45 to a Fraction

    Keep the negative sign, write the digits over 100, and reduce:

    −2.45 = −245/100 = −49/20 = −2 9/20

    How to Convert a Repeating Decimal to a Fraction

    Parentheses are used below to identify a repeating block. For example, 0.(3) means 0.333..., and 0.1(6) means 0.1666....

    Pure Repeating Decimal

    If all decimal digits repeat and the repeating block has n digits, place the repeating block over a denominator containing n nines, then reduce the fraction.

    0.(27) = 27/99 = 3/11

    The same result can be derived algebraically. Let x = 0.272727.... Multiplying by 100 gives 100x = 27.272727.... Subtracting x removes the repeating part:

    100x − x = 27, so 99x = 27 and x = 3/11

    Decimal with Non-Repeating and Repeating Digits

    For a decimal with m non-repeating decimal digits followed by a repeating block of n digits, use:

    Fraction = (digits through one complete repeat − non-repeating leading digits) ÷ (10m+n − 10m)

    Example: Convert 0.1(6) to a Fraction

    There is one non-repeating digit and one repeating digit:

    0.1(6) = (16 − 1) ÷ (100 − 10) = 15/90 = 1/6

    Example: Convert 2.3(45) to a Fraction

    Use the digits through one repeating block, including the whole-number part:

    2.3(45) = (2345 − 23) ÷ (1000 − 10) = 2322/990 = 129/55 = 2 19/55

    How to Convert a Fraction to a Decimal

    Divide the numerator by the denominator:

    Decimal value = Numerator ÷ Denominator

    • 3/8 = 3 ÷ 8 = 0.375

    • 7/4 = 7 ÷ 4 = 1.75

    • 1/6 = 1 ÷ 6 = 0.1666...

    • −11/5 = −11 ÷ 5 = −2.2

    After a fraction is reduced to lowest terms, its decimal terminates only when the denominator has no prime factors other than 2 and 5. For example, 3/40 terminates because 40 = 23 × 5, while 1/6 repeats because the denominator includes a factor of 3.

    Fractions and Mixed Numbers

    A proper fraction has an absolute numerator smaller than its denominator, such as 3/8. An improper fraction has an absolute numerator equal to or greater than its denominator, such as 17/5. A mixed number combines a whole-number part and a proper fraction.

    Convert an Improper Fraction to a Mixed Number

    1. Divide the numerator by the denominator.

    2. Use the quotient as the whole-number part.

    3. Use the remainder as the new numerator.

    4. Keep the original denominator and reduce the fractional part if needed.

    17/5 = 3 remainder 2 = 3 2/5

    Convert a Mixed Number to an Improper Fraction

    Multiply the whole number by the denominator, add the numerator, and place the result over the original denominator:

    3 2/5 = (3 × 5 + 2)/5 = 17/5

    For a negative mixed number, the minus sign applies to the entire value. Thus −3 2/5 = −17/5.

    Decimal to Fraction Conversion Table

    An ellipsis indicates that the displayed digit or digit block repeats forever. These repeating values are exact only when the repetition continues indefinitely.

    DecimalFractionMixed Number
    0.000011/100000Not applicable
    0.0011/1000Not applicable
    0.011/100Not applicable
    0.06251/16Not applicable
    0.083333...1/12Not applicable
    0.090909...1/11Not applicable
    0.11/10Not applicable
    0.111111...1/9Not applicable
    0.1251/8Not applicable
    0.142857...1/7Not applicable
    0.166666...1/6Not applicable
    0.21/5Not applicable
    0.222222...2/9Not applicable
    0.251/4Not applicable
    0.285714...2/7Not applicable
    0.33/10Not applicable
    0.333333...1/3Not applicable
    0.3753/8Not applicable
    0.42/5Not applicable
    0.428571...3/7Not applicable
    0.51/2Not applicable
    0.571428...4/7Not applicable
    0.6255/8Not applicable
    0.666666...2/3Not applicable
    0.753/4Not applicable
    0.84/5Not applicable
    0.833333...5/6Not applicable
    0.8757/8Not applicable
    0.99/10Not applicable
    1.111/101 1/10
    1.255/41 1/4
    1.53/21 1/2
    1.757/41 3/4
    2.55/22 1/2

    Terminating Decimal Place Values

    Decimal PlacesInitial DenominatorExample
    1100.7 = 7/10
    21000.45 = 45/100 = 9/20
    310000.125 = 125/1000 = 1/8
    4100000.0625 = 625/10000 = 1/16
    51000000.00001 = 1/100000

    Exact Values, Rounded Values, and Approximation

    A calculator can only return the exact intended fraction when the decimal input describes the intended value unambiguously. Consider these two inputs:

    • 0.33333333 with no repeating digits is a terminating decimal and equals 33333333/100000000 exactly.

    • 0.333... with 3 repeating forever equals 1/3 exactly.

    If a decimal came from a rounded measurement, many fractions may lie close to it. For example, a displayed measurement of 0.33 does not prove that the underlying value is exactly 1/3. Treat a “simple fraction” result as an approximation unless the source value or repeating pattern is known exactly.

    Common Conversion Mistakes

    • Leaving the result unreduced, such as reporting 375/1000 instead of 3/8.

    • Treating a finite string of repeated-looking digits as an infinite repeating decimal.

    • Counting the non-repeating digits as part of the repeating block.

    • Using zero as a fraction denominator.

    • Dropping the negative sign when converting a negative decimal.

    • Rounding a decimal before converting it when an exact value is required.

    Decimal and Fraction FAQ

    Can every decimal be converted to a fraction?

    Every terminating decimal and every repeating decimal can be represented exactly as a fraction of integers. A nonterminating decimal with no repeating pattern is irrational and cannot be represented exactly as such a fraction.

    Why does the calculator need the number of repeating places?

    The repeat length identifies which digits continue forever. For example, 0.(3), 0.(27), and 0.1(6) have repeating blocks of one, two, and one digits respectively. Without that information, a typed digit string is normally interpreted as a terminating decimal.

    What is the fastest way to convert a terminating decimal?

    Remove the decimal point, place the resulting integer over 1 followed by one zero for each decimal place, and reduce. Thus 0.024 becomes 24/1000, which reduces to 3/125.

    How do I know whether a fraction produces a terminating decimal?

    First reduce the fraction. Its decimal terminates if the denominator contains only factors of 2 and 5. Otherwise, the decimal repeats.

    What happens if the numerator is larger than the denominator?

    The result is an improper fraction with an absolute value of at least one. It may also be displayed as a mixed number, such as 9/4 = 2 1/4.

    Does 0.999... equal 1?

    Yes. Let x = 0.999.... Then 10x = 9.999.... Subtracting gives 9x = 9, so x = 1. This applies to an infinite repeating decimal, not to a finite input such as 0.999.

    References

    Frequently Asked Questions

    What are the 3 types of decimals?

    (1) Terminating decimals: these have a finite number of digits after the decimal point. (2) Recurring decimals: these have one or more repeating numbers or sequences of numbers after the decimal point, which continue infinitely. (3) Decimals which go on for ever, never ending and never forming a repeating pattern. These numbers are called irrational numbers and cannot be expressed as a fraction. We cover these decimals in the number course.

    What is a non decimal number?

    The number of digits a numeric system uses is called its radix. ... However, for raw binary information, non-decimal numbers (especially hex) are much easier to work with, and they are universally used by programmers from the largest mainframe to the smallest microcomputer.

    Where is a decimal?

    The decimal point is placed in between the ones and the tenths. The whole number is written to the left of the decimal point. The fractional part is written to the right of the decimal point. The decimal point makes it easy to read a decimal number.

    What are the 3 types of fraction?

    In Maths, there are three major types of fractions. They are proper fractions, improper fractions and mixed fractions. Fractions are those terms which have numerator and denominator.

    How do you do fractions in math?

    Step 1: Make sure the bottom numbers (the denominators) are the same. Step 2: Add the top numbers (the numerators), put that answer over the denominator. Step 3: Simplify the fraction (if needed)

    What is the formula of fraction?

    Fraction = number of parts / total parts Every fraction has a numerator that equals the number of parts we have and a denominator equaling the total number of parts in a whole.

    What is a proper fraction?

    A fraction in which the numerator is less or of lower degree than the denominator.

    How do I turn a decimal into a fraction?

    To convert a decimal to a fraction, place the decimal number over its place value. For example, in 0.6, the six is in the tenths place, so we place 6 over 10 to create the equivalent fraction, 6/10. If needed, simplify the fraction.

    What is improper fraction example?

    A fraction where the numerator (the top number) is greater than or equal to the denominator (the bottom number). Example: 5/3 (five thirds) and 9/8 (nine eighths) are improper fractions.

    What are the most common fractions?

    A fraction where both top and bottom numbers are integers. Example: 1/2 and 3/4 are both Common Fractions. But 1.2/4 is NOT a Common Fraction.
    Hot products

    ImagePart NumberManufacturerCategoryPackage/CaseDescriptionPriceQuantityBuy/Quote
    BLM18PG121SN1DBLM18PG121SN1DMurata ElectronicsFerrite Beads and Chips0603 (1608 Metric)MURATA - BLM18PG121SN1D - Ferrite Bead, 0603 [1608 Metric], 120 ohm, 2 A, BLM18P Series, 0.05 ohm, ± 25%-

    In stock : 355131

    Minimum: 1

    AD9364BBCZAD9364BBCZAnalog Devices Inc.RF Transceiver ICs144-LFBGA, CSPBGARF Transceiver 1.3V 144-Pin CSP-BGA Tray-

    In stock

    Minimum: 1

    MPZ2012S102AT000MPZ2012S102AT000TDK CorporationFerrite Beads and Chips0805 (2012 Metric)TDK - MPZ2012S102AT000 - FERRITE BEAD, 0.15OHM, 1.5A, 0805-

    In stock : 51745

    Minimum: 1

    SE2537L-RSE2537L-RSkyworks Solutions Inc.RF Amplifiers16-VFQFN Exposed PadRF Amplifier 5GHz Gain 30 dB 3.3Volt -10C 85C-

    In stock : 10000

    Minimum: 1

    CYBL10162-56LQXICYBL10162-56LQXICypress Semiconductor CorpRF Transceiver ICs56-UFQFN Exposed PadMCU 32-Bit CYBL10X6X ARM Cortex M0 RISC 128KB Flash 1.8V/2.5V/3.3V/5V 56-Pin QFN EP Tray-

    In stock : 48

    Minimum: 1

    SKY81294-14-001SKY81294-14-001Skyworks Solutions Inc.PMIC - LED Drivers9-BGA, WLCSPIC LED FLASH DVR 1.2V 9CSP
    • 1:$0.524121
    • 10:$0.494454
    • 100:$0.466466
    • 500:$0.440062

    In stock : 1000

    Minimum: 1

    HSMS-282P-TR1GHSMS-282P-TR1GBroadcom LimitedDiodes - RF6-TSSOP, SC-88, SOT-363Diode Schottky 15V 6-Pin SOT-363 T/R-

    In stock

    Minimum: 1

    80HCPS1432CRM80HCPS1432CRMRenesas Electronics America Inc.Specialized ICs576-BBGA, FCBGAIC SER RAPIDIO SWITCH 576FCBGA-

    In stock

    Minimum: 1

    ALT6702RM45Q7ALT6702RM45Q7Skyworks Solutions Inc.RF Amplifiers-IC RF AMP CELLULAR SMD-

    In stock

    Minimum: 1

    SI8261BBD-C-ISSI8261BBD-C-ISSilicon LabsIsolators - Gate Drivers6-SOIC (0.295, 7.50mm Width)4A Gate Driver Capacitive Coupling 5000Vrms 1 Channel 6-SDIP
    • 1:$7.585350
    • 10:$7.155991
    • 100:$6.750934
    • 500:$6.368806

    In stock : 2191

    Minimum: 1

    SI8261BAD-C-ISSI8261BAD-C-ISSilicon LabsIsolators - Gate Drivers6-SOIC (0.295, 7.50mm Width)Gate Drivers 5kV Opto input Sgl channel 4.0A driver
    • 1:$4.557736
    • 10:$4.299751
    • 100:$4.056369
    • 500:$3.826763

    In stock : 100000

    Minimum: 1

    CSR8510A06-ICXR-RCSR8510A06-ICXR-RQualcommRF Transceiver ICs6-XFBGAIC RF TXRX BLUETOOTH 6XFBGA-

    In stock

    Minimum: 1

    FOD8333FOD8333ON SemiconductorIsolators - Gate Drivers16-SOIC (0.295, 7.50mm Width)Optocoupler AC/DC-IN 1-CH DC-OUT 16-Pin SO Rail
    • 1:$7.092298
    • 10:$6.690847
    • 100:$6.312120
    • 500:$5.954830

    In stock : 53

    Minimum: 1

    FOD8332R2FOD8332R2ON SemiconductorIsolators - Gate Drivers16-SOIC (0.295, 7.50mm Width)OPTOISO 4.243KV GATE DRIVER 16SO-

    In stock : 11

    Minimum: 1

    SP1004U-ULC-04UTGSP1004U-ULC-04UTGLittelfuse Inc.TVS - Diodes10-XFDFNTVS DIODE 9.2V 1004/10DFN-

    In stock : 2633

    Minimum: 1

    ISM303DACTRISM303DACTRSTMicroelectronicsMultifunction-HIGH PERFORMANCELOW POWER COMPAC-

    In stock : 4138

    Minimum: 1

    SLD8S36ASLD8S36ALittelfuse Inc.TVS - DiodesNonstandard SMDTVS DIODE 36.5V 58.1V SMTO-263-

    In stock : 20

    Minimum: 1

    ACPL-302J-500EACPL-302J-500EBroadcom LimitedIsolators - Gate Drivers16-SOIC (0.295, 7.50mm Width)OPTOISO 5KV 1CH GATE DRIVER 16SO
    • 1:$7.709078
    • 10:$7.272715
    • 100:$6.861052
    • 500:$6.472691

    In stock : 36800

    Minimum: 1

    UR020-006-RAUR020-006-RATripp LiteUSB Cables-TRIPP-LITE UR020-006-RACOMPUTER CABLE, USB, 6FT, BLACK-

    In stock

    Minimum: 1

    SFH 4713ASFH 4713AOSRAM Opto Semiconductors Inc.Infrared, UV, Visible Emitters3-SMD, No LeadEMITTER IR 860NM 1A-

    In stock : 6000

    Minimum: 1