A reciprocal calculator finds the number that you multiply by to get 1. Enter a whole number, a decimal, a fraction or a mixed number and you get its multiplicative inverse as a fraction, a decimal and a mixed number. It also gives the reciprocal of a complex number and the modular inverse of a whole number. Everything is worked out in your browser, and decimals are handled as exact fractions.
How to use the reciprocal calculator
- Choose Number or fraction, Complex number or Modular.
- Type the number, the two parts of the complex number, or the number and the modulus.
- Press Find the reciprocal.
What a reciprocal is
The Wikipedia article on the multiplicative inverse defines the reciprocal of a nonzero number x, written 1/x or x⁻¹, as the number which when multiplied by x gives the multiplicative identity, 1.[1] For a fraction, the page says that the reciprocal of a/b is b/a.[1] So the reciprocal of 5 is 1/5, or 0.2, and the reciprocal of 2/3 is 3/2, which is 1.5 or 1 1/2. The page gives the decimal example that the reciprocal of 0.25 is 1 divided by 0.25, which is 4.[1] A negative number has a negative reciprocal, so the reciprocal of −3 is −1/3, because (−3) × (−1/3) = 1.
Why zero has no reciprocal
The page states that in the real numbers zero does not have a reciprocal, because no real number multiplied by 0 produces 1.[1] Division by zero is undefined for the same reason. If you enter 0, the calculator tells you that no reciprocal exists. A reciprocal also appears in division. Dividing by 5 is the same as multiplying by 1/5, and the page notes that multiplying by 4/5 gives the same result as dividing by 5/4.[1]
Reciprocal of a complex number
For z = a + bi, the page finds the reciprocal by multiplying the top and bottom by the conjugate a − bi. Since z times its conjugate is |z|² = a² + b², the result is 1/z = a ÷ (a² + b²) − (b ÷ (a² + b²))i.[1] For 3 + 4i, the value a² + b² is 25, so the reciprocal is 0.12 − 0.16i. In polar form, the page gives 1/z = (1/r)(cos(−φ) + i sin(−φ)), and it notes that when |z| = 1 the reciprocal equals the conjugate.[1] The calculator also shows the conjugate and the value of a² + b² so that you can follow the steps.
The modular inverse
Modulo n, the inverse of x is the integer y with xy ≡ 1 (mod n). The page says this inverse exists if and only if x and n are coprime, and its example is that the inverse of 3 mod 11 is 4, because 4 × 3 = 12 ≡ 1 (mod 11).[1] The extended Euclidean algorithm finds it. Enter 3 and 11 and the calculator returns 4. Enter 6 and 9 and it reports that no inverse exists, because 6 and 9 share the factor 3, and it shows that greatest common divisor so that you can see why. Negative numbers are first reduced to the range 0 to n − 1, so −3 mod 11 has the inverse 7.
Fractions, decimals and percentages
A decimal is a fraction with a power of 10 underneath, so the calculator converts 0.25 to 25/100, reduces it to 1/4 and turns it over to get 4. A repeating decimal appears in brackets, so the reciprocal of 3 is shown as 0.(3), which means 0.3333… forever. A percentage is a fraction too, so you can type 25% and get the reciprocal of 1/4. Because the work is done with exact whole numbers, there is no rounding error even for long decimals.
Where reciprocals are used
Reciprocals turn division into multiplication, they define slopes of perpendicular lines as negative reciprocals, and they appear in rates: the reciprocal of a speed is a time per distance. In science, resistances in parallel add as reciprocals. In a field such as the real or the complex numbers, every nonzero element has a reciprocal, and the page uses that as part of the definition of a field. The integers are not a field, because only 1 and −1 have integer reciprocals.[1]
Worked examples
The reciprocal of 8 is 1/8, which is 0.125. The reciprocal of 0.4 is 1 ÷ 0.4 = 2.5, shown as the fraction 5/2 and the mixed number 2 1/2. The reciprocal of the mixed number 3 1/2 is 2/7, because 3 1/2 is 7/2. The reciprocal of 1/17 is 17, and the page notes that you can reach the reciprocal of 17 by Newton's method with a first guess of 0.1, which gives about 0.0588 after five steps.{1} Try each of these in the calculator and use the check line to confirm that the product is 1.
Reciprocal and negative reciprocal
A negative reciprocal is the reciprocal with its sign changed. It matters in geometry, where two lines are perpendicular when their slopes are negative reciprocals, such as 2 and −1/2. This calculator gives the plain reciprocal. To get the negative one, change the sign of the result. For the slope of a perpendicular line, the reciprocal of 2/3 is 3/2, so the negative reciprocal is −3/2.
Common mistakes
- Changing the sign of a negative number's reciprocal. It keeps the same sign.
- Turning over only the denominator. Swap the numerator and denominator together.
- Confusing the reciprocal with the opposite. The opposite of 5 is −5, and the reciprocal is 1/5.
- Expecting every number to have a modular inverse. It needs a common factor of 1.
What next
Use this often? Add Reciprocal to your Home screen.
Frequently asked questions
What is a reciprocal calculator?
A tool that finds the number which, multiplied by the one you enter, gives 1. It handles whole numbers, decimals, fractions, complex numbers and modular inverses.
What is the reciprocal of a fraction?
Swap the numerator and the denominator. The reciprocal of 2/3 is 3/2, which is 1.5.
Does zero have a reciprocal?
No. No number multiplied by zero gives 1, so division by zero is undefined.
How do I find the reciprocal of a complex number?
Multiply the top and bottom by the conjugate. For 3 + 4i, the reciprocal is (3 − 4i) ÷ 25, which is 0.12 − 0.16i.
When does a modular inverse exist?
Only when the number and the modulus are coprime. The inverse of 3 modulo 11 is 4, but 6 has no inverse modulo 9.
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.