Direct Variation Calculator

Direct Variation Calculator

Solve direct variation problems and find the constant of variation (k).

Last updated: March 2026 | By ForgeCalc Engineering

Step 1: Find Constant (k)

k = y / x = 5.0000

Step 2: Solve for New Y

Resulting Y
25.00
Equation: y = 5.00x

What is Direct Variation?

Direct variation describes a simple relationship between two variables. We say $y$ varies directly with $x$ if the ratio between them is constant. This means that as one variable increases, the other increases at a consistent rate.

Graphically, direct variation is always represented by a straight line that passes through the origin (0,0). The slope of this line is the constant of variation, $k$.

How to Solve Direct Variation

The Formula

y = kx

Where $k$ is the constant of variation ($k \neq 0$).

Step-by-Step Method

  1. Write the direct variation equation: $y = kx$.
  2. Substitute the known values of $x$ and $y$ into the equation.
  3. Solve for $k$ (the constant of variation) using $k = y/x$.
  4. Rewrite the equation with the found $k$ value.
  5. Use the new equation to find the unknown variable.

Example Calculation

Problem: If y varies directly as x, and y = 12 when x = 3, find y when x = 10.

Step 1: Find k

k = y / x = 12 / 3 = 4

Step 2: Write equation

y = 4x

Step 3: Solve for new x

y = 4 * 10 = 40

Final Answer: y = 40

Frequently Asked Questions

What is the difference between direct and inverse variation?

In direct variation (y=kx), variables move in the same direction. In inverse variation (y=k/x), as one variable increases, the other decreases.

Does a direct variation graph always pass through (0,0)?

Yes. By definition, if x = 0, then y = k(0) = 0. If a line does not pass through the origin, it is not a direct variation.

Can k be negative?

Yes. If k is negative, y will decrease as x increases, but the relationship is still direct because the ratio y/x remains constant.

How do you identify direct variation from a table?

Divide each y-value by its corresponding x-value. If the result (k) is the same for every pair, it is a direct variation.

Related Tools