Direct Variation Calculator

Created by Krishna Nelaturu
Reviewed by Anna Szczepanek, PhD and Adena Benn
Last updated: Feb 02, 2023

Welcome to our direct variation calculator, where you can calculate the direct variation between two variables. If you're trying to determine the direct proportionality between two variables, you've come to the right place! In this article, we shall discuss the direct variation formula, real-life examples of direct variation, and how to find the constant of variation. We shall also graph the direct variation between two variables.

Direct variation of two variables

Direct proportionality or direct variation is the relationship between two variables such that an increase in one variable results in a proportional increase in the other variable. We express this relationship mathematically as:

yxy \propto x


  • yy - A dependant variable; and
  • xx - An independent variable.

By introducing a constant of proportionality kk, we obtain the direct variation formula:

y=kxy = k \cdot x

The graph of a direct variation will naturally be a straight line whose slope equals the constant kk.

Examples of direct variation

Before learning how to find the constant of variation kk, let's look at some examples of direct variation in different fields:

  • Ohm's law: The current II flowing through a circuit directly varies with the circuit voltage VV. The circuit resistance RR is the constant of direct variation here:
V=IR\qquad V = I \cdot R

To learn more about Ohm's law, visit our Ohm's law calculator.

  • Newton's second law: The rate of change of the velocity of a body is directly proportional to the force applied.
FdvdtF=mdvdt=ma\qquad \begin{align*}\mathbf{F} &\propto \frac{\text{d}\mathbf{v}}{\text{dt}}\\[1em] \mathbf{F} &= m \frac{\text{d}\mathbf{v}}{\text{dt}} = m \mathbf{a} \end{align*}


  • F\mathbf{F} - Force applied;
  • v\mathbf{v} - Velocity of the body;
  • mm -Mass of the body; and
  • aa - Acceleration of the body.

Our Newton's second law calculator will assist you in force calculations and further reading on Newton's second law.

How do you find the constant of variation?

To find the constant of direct variation k in the equation y = k ∙ x, follow these steps:

  1. Measure the value of y for an arbitrary choice of x.
  2. Divide this y by x to get k as k = y/x.
  3. Verify your result using our direct variation calculator.

Using this direct variation calculator

This direct variation equation calculator is straightforward to use:

  1. Enter the value of the independent variable x.
  2. Provide the proportionality constant k.
    • The direct variation calculator will determine the value of the dependent variable y.
    • The calculator will also provide a graph of the direct variation so you can visually assess the direct proportionality.

Thanks to the versatility of this calculator, you can enter any two known parameters to find the third.

Check out how inverse proportionality works using our inverse variation calculator.


How do you recognize direct variation?

Follow these steps to identify a direct variation between two variables x and y:

  1. Obtain multiple measurements of the variables, x1, y1, x2, y2, x3, y3,..., xn, yn.
    • If the ratio of these variables is equal, y1/x1 = y2/x2 = y3/x3 = ... = yn/xn, the variables are directly varying.
    • Alternatively, plot the readings as points on a graph, (x1, y1), (x2, y2), (x3, y3),..., (xn, yn). If they form a straight line, the variables are directly varying.

What is y in the direct variation y = 12x, at x = 8?

y = 96.

To compute this answer manually, follow these steps:

  1. Substitute x = 8 in the equation y = 12x to get y = 12 ∙ 8.
  2. Compute the multiplication to get y = 96.
  3. You can use our direct variation calculator for verification or further calculations.

What is the relation between the mass of objects and gravitational force?

Newton's law of universal gravitation states that the gravitational force (F) between any two objects is directly proportional to the product of their masses (m1,m2). Mathematically, F ∝ m1∙m2.

Krishna Nelaturu
y = k ∙ x
Dependant variable (y)
Independent variable (x)
Direct proportionality constant (k)
Check out 38 similar algebra calculators 🔡
Absolute value equationAbsolute value inequalitiesAdding and subtracting polynomials… 35 more
People also viewed…

Car vs. Bike

Everyone knows biking is fantastic, but only this Car vs. Bike Calculator turns biking hours into trees! 🌳

Christmas tree

Welcome to the Christmas tree calculator, where you will find out how to decorate your Christmas tree in the best way. Take a look at the perfect Christmas tree formula prepared by math professors and improved by physicists. Plan in advance how many lights and decorations you'll need!

Diagonalize matrix

The diagonalize matrix calculator is an easy-to-use tool for whenever you want to find the diagonalization of a 2x2 or 3x3 matrix.

Scientific notation

The scientific notation calculator converts any decimal to scientific notation.
Copyright by Omni Calculator sp. z o.o.
Privacy policy & cookies
main background