Direct, Inverse & Joint Variation Calculator

Solve direct, inverse, joint and square variation problems: find the constant k from one known pair, then the missing y (or x) with the equation shown.

Results

y when x = 7
21
Constant of variation (k)
3
Equation
y = 3x
Working
k = y ÷ x = 12 ÷ 4 = 3 y = 3x with x = 7 → y = 21

How it’s calculated

Variation problems say that one quantity is a fixed multiple of another. You find the constant of variation k from one known set of values, write the equation, then use it for new values.

k = y ÷ (the x-part) direct: k = y/x inverse: k = xy joint: k = y/(xz) square: k = y/x²

Example (direct): y = 12 when x = 4, so k = 12 ÷ 4 = 3 and y = 3x. When x = 7, y = 21. Example (inverse): y = 6 when x = 4, so k = 24; y = 24/x gives x = 12 when y = 2.

For square variation, finding x from y gives two answers, ±√(y ÷ k); the calculator shows the positive one and mentions the negative one. Quantities such as lengths and prices are usually positive.

Frequently asked questions

What is the constant of variation?

The fixed number k in y = kx, y = k/x, y = kxz or y = kx². You find it by substituting one known set of values and solving for k.

How can I tell direct from inverse variation?

If y grows when x grows (and the ratio y/x stays fixed) it is direct. If y shrinks when x grows (and the product xy stays fixed) it is inverse.

What is joint variation?

One quantity depends on the product of two or more others, such as the area of a rectangle on its length and width: y = kxz.

Why can’t x be 0 in the known pair?

With x = 0 a direct, joint or square variation gives y = 0 whatever k is, so the pair says nothing about k, and an inverse variation would divide by zero.

Embed this calculator

Add this free calculator to your own website. Copy the code below into your page’s HTML:

Need this calculator branded, changed or built around your own prices?See custom business solutions →

Sources

Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.

Added · Last updated · How we check our calculators

Spotted a mistake or missing option? Report a problem· Suggest a calculator