y=kx Direct Variation Calculator

Find the constant of variation and calculate y for a direct variation y = kx.

No ratings yet — be the first

Enter details

Direct variation y = kx
(y1)/(x1) = (y2)/(x2)
=y2
  • Known x
  • Known y
  • New x

Log in or create a free account to save your inputs and results, so you don't have to enter them again next time.🔒 No spam, ever. We never sell or share your details, and you can delete your history or account at any time. Privacy policy

Fill in the details and click Calculate to see your results.

Rate this calculator

Was it useful? A quick star rating helps others — and you can leave a comment too.
Rate it: ★ ★ ★ ★ ★

📘 About the Direct Variation Calculator

Two quantities vary directly when y = kx: doubling x doubles y. The constant of variation k = y ÷ x stays the same.

Enter a known pair (x, y) and a new x to get k and the new y.

🧮 Formula

Where

  • x1,y1 = known pair
  • x2 = new x
  • k = constant of variation
k = y1/x1; y2 = kx2.

✏️ Worked example

y = 20 when x = 4; find y at x = 7

You enter
Known x4
Known y20
New x7
You get
Constant k5
New y35

k = 5; y = 35.

🧭 How to use this calculator

What you enter

  • Known x
  • Known y
  • New x

What you get

  • Constant k
  • New y

💡 Condition

  • The known x value must be non-zero.
  • The relationship assumes direct variation through the origin.

❓ Frequently asked questions

What is direct variation?

y = kx for some constant k; the graph is a straight line through the origin.

How do you find k?

Divide y by x: y = 20 when x = 4 gives k = 5.