Want a Custom tool for Yourself?

Need a Custom Tool? We build custom tools that can save hours per employee per day.

Constant of Proportionality Calculator

Find the constant of proportionality k from x and y values. Great for direct variation problems and checking linear relationships quickly.

Enter the Details




Result will appear here...


Last updated: March 30, 2026

Created by: Eon Tools Dev Team

Reviewed by: Ankit Khatiwada



What the constant of proportionality calculator does

When two quantities are directly proportional, one is always a fixed multiple of the other, and that fixed multiple is the constant of proportionality. This calculator finds it by dividing the dependent value by the independent one. It is the number that ties the two quantities together in the simplest possible relationship.

It is the rate hiding inside phrases like miles per hour or price per item. Below is what direct proportion means and how the constant is found.

How to use it

  1. Enter the independent variable, the value of x.
  2. Enter the dependent variable, the value of y.
  3. Press Calculate for the constant of proportionality, or Reset to clear it.

What direct proportion means

Two quantities are directly proportional when they always keep the same ratio. Double one and the other doubles; halve one and the other halves. The link between them never changes, so their ratio stays fixed no matter which pair of values you look at.

This is the cleanest kind of relationship there is. Everyday examples are everywhere: the cost of petrol is proportional to how many litres you buy, the distance travelled at a steady speed is proportional to the time, and the weight of a stack of identical bricks is proportional to how many bricks it holds. In each, one quantity is simply a fixed multiple of the other.

How the constant is worked out

The constant of proportionality is just the ratio of the two quantities, the dependent value divided by the independent one:

k = y ÷ x

Because the two are proportional, this ratio is the same whichever pair you use, so a single pair of values is enough to find it. Once you have the constant, you can find y for any x by multiplying, or x for any y by dividing, since the whole relationship is captured in that one number.

What the constant tells you

The constant is a rate, and it usually has a clear real-world meaning. If y is distance and x is time, the constant is speed. If y is cost and x is quantity, it is the price per unit. If y is weight and x is count, it is the weight of one item. Reading what the constant represents often tells you more than the bare number.

Its size sets how steeply y grows with x. A large constant means y climbs quickly for each step in x, and a small one means it climbs slowly. A constant of 1 means the two quantities are always equal. Whatever its value, it is the single figure that describes how the two quantities are geared together.

The line through the origin

Direct proportion is the simplest case of a straight-line relationship. Written as y equals k times x, it is a line whose slope is the constant of proportionality and whose intercept is zero, so it passes exactly through the origin. When x is zero, y is zero too, which makes sense: buy no petrol and you pay nothing.

That passing-through-zero is what sets proportion apart from a general straight line. A full linear relationship can cross the vertical axis anywhere, thanks to its intercept, but a proportional one is pinned to the origin. So the constant of proportionality is really just the slope of a line that starts from nothing, the purest form of a linear link between two quantities.

A worked example

Suppose 4 apples cost 12 rupees, so the independent variable x is 4 and the dependent variable y is 12.

The constant of proportionality is 12 divided by 4 = 3, which here means 3 rupees per apple. The relationship is y equals 3x, so 7 apples would cost 3 times 7 = 21 rupees, and 10 apples would cost 30. The single constant, 3, lets you price any number of apples, and it is exactly the per-apple rate.

Entering your values

Enter the independent value x and the dependent value y. The independent value cannot be zero, since dividing by zero has no meaning. The calculator returns the constant of proportionality, which is the same for every pair in a truly proportional relationship, and which serves as the rate linking the two quantities.

Questions people ask

What is the constant of proportionality?

The fixed multiple linking two directly proportional quantities, found by dividing the dependent value by the independent one. It stays the same for every pair.

How do I find it?

Divide y by x. Because the two quantities keep a fixed ratio, one pair of values is enough to find the constant.

What does it represent?

Usually a rate: speed if y is distance and x is time, price per unit if y is cost and x is quantity. Reading what it stands for gives it meaning.

How does it relate to a straight line?

It is the slope of a line through the origin. Direct proportion is a linear relationship with a zero intercept, so y is zero whenever x is zero.

References

A quick note on where the methods here come from. Direct proportion and linear relationships are foundational topics covered in the NIST/SEMATECH e-Handbook of Statistical Methods, the US government's public statistics reference, in its treatment of linear models. OpenStax provides free, widely used mathematics textbooks covering proportional relationships.

  1. NIST/SEMATECH e-Handbook of Statistical Methods (linear relationships). https://www.itl.nist.gov/div898/handbook/
  2. OpenStax (free mathematics textbooks covering proportional relationships). https://openstax.org/subjects/math


Ankit Khatiwada

Ankit Khatiwada is a researcher and graduate student in Computer Science at Saarland University, with strengths in statistics, data analysis, data engineering, and full stack development. His work sits at the intersection of quantitative reasoning and applied technology, making him a strong fit for tools that depend on clear numerical logic. At Eon Tools, he reviews number and statistical tools.