Fractions & Decimals Calculator
BigInt-backed rational arithmetic on fractions, mixed numbers, decimals, and repeating decimals with no floating-point drift. Addition, subtraction, multiplication, division, and integer powers (negative exponents allowed); decimal output detects repeating cycles and writes them as 0.(3) or 1.2(34). A second tool rounds any value to the nearest 1/2 through 1/256 and renders it as reduced fraction, mixed number, percent, scientific notation, and LaTeX.
This tool sends nothing over the network. Everything you enter is processed on your device and never reaches our servers.
Documentation
Type the whole number followed by a space and the fraction. For example, 2 1/3 means two and one third, and -1 3/4 means negative one and three quarters.
Place the repeating digits inside parentheses. For example, 0.(3) means 0.333..., and 1.2(34) means 1.2343434.... Decimal output that repeats is detected automatically and written back in the same notation.
Addition +, subtraction -, multiplication * or ×, division / or ÷, and powers ^, including negative exponents. Parentheses group complex expressions.
Exact mode keeps a result in precise fractional form instead of a decimal approximation, which matters when an exact rational answer is needed rather than a rounded one.
The Fractions & Decimals Calculator combines two numbers under a chosen operation. The Fraction to Decimal Converter instead takes a single number, rounds it to the nearest denominator from 1/2 through 1/256, and renders it in several equivalent forms at once: reduced fraction, mixed number, decimal, percent, scientific notation, and LaTeX.
Results can be copied as plain text or as LaTeX, ready to paste into homework, teaching materials, or technical documents.
A number converts into:
- Reduced fraction (lowest terms)
- Mixed number
- Decimal (with adjustable precision)
- Percent
- Scientific notation
- LaTeX formatted output
Yes. An advanced "prefer improper fractions" option displays 7/3 instead of 2 1/3.
Zero as a denominator is invalid. Parentheses in expressions and in repeating decimals must be closed for the input to parse.
The fractions and decimals calculator performs arithmetic on fractions, mixed numbers, decimals, and repeating decimals using rational, BigInt-backed arithmetic rather than floating-point math, so results carry no rounding drift. A companion fraction to decimal converter takes a single number and renders it in several equivalent forms at once. Both tools support exact mode and adjustable precision.
- Values can be entered individually or as a full expression, such as
(3/4 + 1.2) × 2 - 1/3. - Supported operations are addition, subtraction, multiplication, division, and integer powers, including negative exponents.
- Results can be read as a fraction, a mixed number, or a decimal.
- Decimal precision is adjustable from 2 to 12 places.
- Exact mode keeps the result in exact rational form rather than a rounded decimal.
- Results copy as plain text or LaTeX for direct use in documents.
- Converting a fraction to a decimal is division of numerator by denominator.
- The reverse check, for decimal to fraction, is numerator = decimal × denominator.
The two calculators serve education, everyday math, and professional work wherever precise fraction and decimal conversions matter.
- Check homework and practice problems that involve fractions, mixed numbers, or decimals.
- Convert recurring decimals such as 0.(3) into exact fractions for teaching or study.
- Calculate ratios, proportions, and powers in STEM coursework.
- Adjust recipes or measurements by converting between fractional and decimal units.
- Prepare LaTeX-ready math output for assignments, research, or publications.
- Verify calculations in fields such as construction, finance, or engineering where precision matters.
Inputs, outputs, and what the Fractions & Decimals Calculator computes
What the Fractions & Decimals Calculator asks for and what it returns, as a plain list. Defaults, units, and ranges are the ones the form loads with.
Inputs
- First whole number (text input)
- First numerator (text input)
- Operation · default: +
- Second whole number (text input)
- Second numerator (text input)
- First denominator (text input)
- Second denominator (text input)
- Expression input (text input)
- Fraction / Mixed / Decimal · default: Fraction
- Decimal precision · default: 4
- Show steps · default: off
- Exact mode · default: off
- Prefer improper fractions · default: off
- Enter a number (text input)
- Fraction precision · default: No rounding
- Show improper fractions · default: off
Controls
Calculate · Reset · Copy Plain Text · Copy LaTeX · Convert