Find the constant of proportionality k = y/x from any pair, then use k to predict y or solve for x, with a full substitution check shown in the working steps.
Constant Proportionality Calculator
Solve the whole y = kx relationship: find k from a pair, predict y, or work backwards to x.
Enter your values
Fill in the fields below — the result appears with every step shown.
Your result will appear here
Enter your values above, then press Calculate — or press Enter in any field.TinyExe · Constant Proportionality Result
Calculated locally in your browser
—
Name
—
What to solve
—
x value
—
y value
—
How this was calculated
What to do next
TinyExe PDF & PNG exports carry the TinyExe logo and tinyexe.com header & footer.
Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.
The short answer
The constant of proportionality is k equals y divided by x in any directly proportional relationship written y equals kx. If y is 12 when x is 4, then k equals 3, meaning every y value is exactly three times its matching x value throughout the whole relationship.
- k = y / x for any true pair in a proportional relationship
- A proportional graph is a straight line through the origin
- k is the unit rate: the y amount for exactly 1 of x
Spotting k in common proportional relationships
Reference values for this calculator.
| Relationship | y = kx with | k equals |
|---|---|---|
| Distance at steady speed | distance = speed x time | the speed |
| Cost of identical items | cost = price x quantity | the unit price |
| Recipe scaling | ingredient = k x servings | ingredient per serving |
| Map distances | real distance = k x map distance | the scale factor |
The formula
The exact formula this calculator uses — every variable in it is explained in the card below.
The formula
Three modes cover the whole y = kx relationship: identify k from a single pair (equivalently from a table row or a graph’s rise for x = 1), then apply k forwards to predict y or backwards to find the x behind a given y. Enhancement over a one-shot ratio tool: the find_k mode verifies its answer by substituting it back into y = kx.
Worked examples
Worked examples with the full working shown — try them in the calculator to check.
Example 1
Finding k from a table row
Find k mode: x = 4, y = 12
| Calculation | Steps |
|---|---|
| k = y / x = 12 / 4 = 3 Check: y = kx = 3 x 4 = 12 | k = 3 — Every y is 3 times its x in this relationship. |
Result
Example 2
Predicting with a known k
Find y mode: k = 2.5, x = 8
| Calculation | Steps |
|---|---|
| y = kx = 2.5 x 8 = 20 | y = 20 — At x = 8, the proportional value y is 20. |
Result
Example 3
Working backwards
Find x mode: k = 3, y = 21
| Calculation | Steps |
|---|---|
| x = y / k = 21 / 3 = 7 | x = 7 — The x that produces y = 21 at k = 3 is 7. |
Result
How to use this calculator
Step 1
Decide what you need: k itself, a missing y, or a missing x.
Step 2
Pick that mode from the dropdown.
Step 3
For find_k, enter any one true (x, y) pair from the table, graph or situation.
Step 4
For find_y or find_x, enter the known k plus the value you have.
Step 5
Press Calculate and use the substitution check in the steps to confirm the relationship holds.
Frequently asked questions
How do I find the constant of proportionality from a table?
Pick any row and divide y by x. In a genuinely proportional table every row gives the same k — if two rows disagree, the relationship is not directly proportional (or a value was copied wrongly).
How do I find k from a graph?
Read the y value where x = 1: that point (1, k) lies on every proportional graph, since the line passes through the origin. Equivalently divide any clear point’s y by its x.
What if the line does not pass through the origin?
Then the relationship is not y = kx — it is y = kx + b, a linear but not proportional relationship, and no single constant of proportionality exists for it.
What is the difference between k and a unit rate?
They are the same number viewed two ways: k is the algebraic constant in y = kx, and as a unit rate it is "y units per 1 x unit", like 3 ounces per serving.
Can k be a fraction or negative?
Yes. Scaling down gives fractional k (halving a recipe, k = 0.5), and inverse-style school problems occasionally use negative k when one quantity falls as the other rises at a constant ratio.
About this calculator
The Constant Proportionality Calculator solves the direct-proportion equation y = kx in all three directions: it finds the constant k from a single known pair of values, uses a known k to predict the y for any x, and works backwards from k and y to the x that produced them.
Two quantities are directly proportional when one is always the same multiple of the other: double x and y doubles, halve x and y halves, and the graph of the relationship is a straight line through the origin. The multiplier is the constant of proportionality, k, and finding it from any single pair (k = y/x) unlocks every other pair in the relationship.
K is also the unit rate, which is what makes it useful outside the classroom. "12 ounces for 4 servings" becomes k = 3 ounces per serving, and from that one number a cook can size 1 serving or 40. The same structure appears in unit prices, steady speeds, map scales and currency conversions — all are y = kx wearing different clothes.
The most common error is applying k to a relationship that is not proportional: if a taxi charges a fixed pickup fee plus a per-mile rate, cost is not proportional to distance (the graph misses the origin), and dividing one fare by its miles gives a "k" that predicts every other fare wrongly. The substitution check in this calculator’s steps — recomputing y from k and x — is the quickest way to catch that before it spreads.
Use it for ratio and proportion homework, reading unit rates out of tables and graphs, scaling recipes and mixtures, converting with a fixed rate, and checking whether a data table is genuinely proportional before you rely on it.
How to calculate it yourself
Step 1
Confirm the relationship is proportional: the ratio y/x should be identical for every known pair.
Step 2
Divide y by x for any pair to get k.
Step 3
To predict a new y, multiply k by the new x.
Step 4
To find the x behind a known y, divide y by k.
Step 5
Substitute back into y = kx to verify before using the answer.
Real-life examples
Recipe scaling by unit rate
A smoothie recipe uses 12 ounces of juice for every 4 servings. A cook finds k first, then uses it to size a batch for a party.
k = y / x = 12 / 4 = 3 Check: y = kx = 3 x 4 = 12
k = 3 — Every y is 3 times its x in this relationship.
Pay at an hourly rate
A tutor charges in direct proportion to time: k works out at 25 per hour. For a 3.5-hour session the predicted pay is found with find_y.
y = kx = 25 x 3.5 = 87.5
y = 87.5 — At x = 3.5, the proportional value y is 87.5.
Ideas & use cases
- Test a whole table: run find_k on two different rows — equal k values confirm proportion, different ones locate the row with the copying error.
- Unit-price showdown: express two pack sizes as k (price per ounce) to see which is genuinely cheaper instead of comparing sticker prices.
- Graph reading practice: pick the point where x = 1 on a printed graph and compare its y with the k this calculator finds from another point.
Limitations & sources
- Assumes a true direct proportion through the origin (y = kx). It cannot fit k from several noisy data points — that is a regression task — and it does not handle inverse proportion (xy = k) in its modes.
Sources: Direct proportion and the constant of proportionality: standard middle-school algebra curricula (Common Core 7.RP.2, identify the constant of proportionality in tables, graphs and equations)
