Direct and Inverse Variation Calculator — Joint and Combined Too
This variation calculator finds the constant of proportionality from the question as it is written — direct, inverse, joint or combined — with no type to pick from a dropdown first.
Type y varies inversely as x, y = 4 when x = 3 and it works out that k = 12 and the equation is y = 12/x.
This is the algebra kind — quantities that rise and fall together by a fixed constant. If you came looking for spread in a data set, that is a different topic entirely and this page will not help with it.
Direct and Inverse Variation, and the Two Others
Direct and inverse variation are the two most people meet first. Joint and combined follow, and all four are taught as separate things when they are not. Every one of them is:
the dependent letter = k × (everything it depends on)
What changes is only where each variable sits. Directly as puts it on top. Inversely as puts it underneath. Jointly as means more than one on top. Combined variation is simply both at once.
| Wording | Equation | What is constant |
|---|---|---|
| y varies directly as x | y = kx | the ratio y/x |
| y varies inversely as x | y = k/x | the product xy |
| z varies jointly as x and y | z = kxy | z/(xy) |
| z varies directly as x, inversely as y | z = kx/y | zy/x |
Once the shape is right, finding k is one division. The shape is the whole difficulty.
Which Is the Hard Part, and Which Every Tool Gets Backwards
Look at what the other calculators ask of you. One says: select the type of variation, direct or inverse, from the dropdown, then enter your values. Another opens with "identify the relationship type" before it will accept anything at all.
But that decision is the question.
A student who already knows the relationship is inverse can finish the problem in one line without any calculator at all. The one who does not know is the one who came looking — and every tool asks them for the answer before it will help.
One goes further still. Its instructions read: when entering indirect variation, remember that the fraction is inversed, so if you have an input fraction of 2/5 you would enter 5/2. That is the tool asking you to do its arithmetic.
This page reads the sentence.
Or Give It No Sentence at All
Type (2,6) (4,12) (5,15) and it will tell you the relationship is direct, with k = 3.
It decides by running both tests. Divide each y by its x: 3, 3, 3 — constant, so direct. Multiply each x by its y: 12, 48, 75 — not constant, so not inverse. Only one of the two can hold on real data, which is precisely what makes the question answerable without being told.
Try (2,12) (4,6) (6,4) and the products all come to 24 while the ratios do not match, so it is inverse. And if neither test holds, the page says neither, because plenty of relationships are neither and pretending otherwise would be worse than useless.
What the Constant Actually Tells You
Most tools hand back k and stop there. What it means depends entirely on which kind you have, and the two meanings are not remotely alike.
In direct variation the constant is a rate: y = 4x means that every 1 added to x adds 4 to y. It is the amount of change per unit, and on a graph it is the steepness of the line.
In inverse variation the constant is a fixed product: xy = 12 means every pair of values multiplies to 12. Double x and y must halve, because their product cannot move. That is why one falls as the other rises — not because of any rule to memorise, but because 12 has to stay 12.
Squares, Cubes and the Inverse Square
A variable does not have to appear to the first power. y varies inversely as the square of x means y = k/x², and this page reads it that way.
It is worth knowing because it is everywhere outside the classroom.
Gravity, light intensity, radio signal strength and sound all fall off as the square of the distance. Double the distance and you get a quarter, not a half. A student who has only met y = k/x finds that surprising, and the surprise is rather the point.
Direct Variation Is a Line Through the Origin
y = kx is a straight line, and k is how steep it is. It passes through (0, 0) because when x is nothing, y is nothing.
That last part is what separates direct variation from an ordinary straight line. y = 3x + 5 is a perfectly good line but it is not direct variation, because doubling x does not double y — the 5 gets in the way. If your relationship has a starting amount that does not scale, it is not variation at all but an ordinary line, and the slope-intercept form calculator is the page that handles those. For the steepness on its own, there is a slope calculator too.
How to Use This Variation Calculator
Write the sentence: y varies directly as x, y = 12 when x = 3. Add a second part with a comma and it answers that too — , find y when x = 7. Joint and combined work identically: z varies jointly as x and y, or directly as x and inversely as y.
"Is directly proportional to" and "varies as" are both accepted, and so is the ∝ sign.
The pad carries x, y, z, the brackets for data points and the numbers; tap My keyboard for the words, or start from an example below and change the figures. If your question is two ratios set equal rather than a relationship with a constant, that is the proportion calculator instead.
Variation Calculator FAQ
What is the constant of variation?
How do I tell direct from inverse?
What is joint variation?
And combined variation?
Is y = 3x + 5 direct variation?
What does "varies inversely as the square" mean?
How many points do I need to spot the relationship?
Can a relationship be neither?
Get the shape right and the rest is one division. Directly as goes on top, inversely as goes underneath, and the constant that falls out is the same for every pair of values you will ever be given.