Guide

Direct proportion

By Viktor Lassen4 min readUpdated 3 September 2026

Direct proportion has the form y = kx: when x goes up, y goes up by a constant. Here is what k means, how to find it from one pair of values, and how the milk price example works.

Direct proportion is the simplest kind of proportion: yy is just xx multiplied by a fixed number. This guide shows what the form y=k×xy = k \times x means, why yx=k\frac{y}{x} = k says the same thing, and how to find kk from a single pair of values. The usual hurdle is not the arithmetic but seeing that the two forms are one rule.

When do I use this?

Whenever one quantity is a fixed multiple of another, like a price and an amount, so that "twice as much of one" means "twice as much of the other". In exam questions it usually shows up as "yy is directly proportional to xx".

The form y = kx

Direct proportion has the form

y=k×xy = k \times x

This means that when xx goes up, yy goes up by some constant. This value kk is what we call the constant of proportionality, or the proportionality factor.

Worked example: the price of milk

Say a litre of milk costs £2. Let's call the price for the total amount of milk yy, and the number of litres of milk we buy xx. Then we can see that when our milk costs £2 per litre, and we write it in the form of direct proportion, we get

price of milk=2×litres of milk\text{price of milk} = 2 \times \text{litres of milk}

y=2×xy = 2 \times x

And remember here that yy is the price of however much milk we buy, and xx is the amount of milk. It says that the price is directly proportional to the amount of milk. xx and yy are what we call variables, because they vary, that is, they change.

Direct proportion y = kx: a straight line through the origin, here with k = 2

The graph is a straight line through the origin. That makes sense: it is a linear function with nothing added on the end, so it crosses the y-axis at 0, and the gradient of the line is kk.

The other form: y/x = k

We can also meet direct proportion in the form

yx=k\frac{y}{x} = k

It is really the same thing, we have just moved things around a bit in the original form. As we remember from fractions, a fraction is also a ratio. So here we can say that the ratio between yy and xx is constant. In direct proportion the ratio between the two variables is constant.

Finding k from one pair of values

This second form is the one we use when we are not told kk. Say we only know that 3 litres of milk cost £6. Then we have an xx and a yy that belong together, and we put them into yx=k\frac{y}{x} = k:

k=63=2k = \frac{6}{3} = 2

So the constant of proportionality is 2, and the rule is y=2xy = 2x. Now we can find the price of any amount. For 5 litres:

y=2×5=10y = 2 \times 5 = 10

so 5 litres cost £10. Notice that 105=2\frac{10}{5} = 2 as well: the ratio between price and amount is the same for every pair, which is exactly what direct proportion promises.

Common mistakes

  • "k is where the line crosses the y-axis." In y=k×xy = k \times x there is no constant added on, so the line goes through the origin. kk is what you multiply xx by, the gradient of the line, not a crossing point.
  • "y grows when x grows, so it must be proportional." Only if it grows in exactly this way, y=k×xy = k \times x. A taxi at £2 per km plus a £4 start fee is y=2x+4y = 2x + 4: it grows with xx, but it is not proportional, because the ratio yx\frac{y}{x} is not the same for every trip.
  • "y/x = k is a different rule from y = kx." It is the same statement, rearranged. Use whichever form suits the question: y=k×xy = k \times x to compute yy, yx=k\frac{y}{x} = k to find kk.

Frequently asked questions

Read next

Want to get good at maths?

Mathara explains every topic step by step with videos, exercises and personal feedback.

👉 Get started for free