How to Determine k From a Graph

Charts & pivot tables · Updated November 22, 2026

To determine k from a graph, first identify the equation or relationship the graph represents. For a proportional relationship y = kx, choose a point and calculate k = y/x; equivalently, k is the line’s slope, found from two points as rise divided by run. If the graph follows a different model, the calculation changes, so check what k means before using a formula.

What You’ll Need

  • The graph, including its axis labels, scale, and any stated equation or model.
  • A ruler or straightedge if you need to read points from a printed graph.
  • A calculator for dividing or finding a slope, especially when the graph uses awkward scales.
  • A way to record units. The units of k depend on the units on the horizontal and vertical axes.

Step-by-Step

  1. Read the question and identify the model. Look for an equation, a description such as “directly proportional,” or a stated context. The letter k does not have one universal meaning: it may represent a proportionality constant, a slope, a spring constant, a rate in an exponential model, or another parameter. If no model is given, use the graph’s shape and context to decide what interpretation is reasonable. Do not assume every graph uses y = kx.
  2. Check the axis labels, units, and scale. Note which variable is on each axis and whether the axes begin at zero. Read the numbered tick marks carefully: a square might represent 2, 5, or 10 units rather than 1. Record the units as well. For example, if y is measured in metres and x in seconds, a slope has units of metres per second. A correct calculation with a misread scale can still give the wrong value of k.
  3. Decide whether the graph is a straight line through the origin. A direct proportion, y = kx, is shown by a straight line that passes through (0, 0). The origin is the point where both axes equal zero. If the line appears to cross the vertical axis somewhere else, it may instead follow y = kx + b, where b is a nonzero intercept. A curve suggests that you need a different model or relationship.
  4. Choose clear points from the graph. For a straight line, pick two points that lie on the line and are easy to read, preferably well separated. Points at grid intersections are usually more reliable than points between tick marks. If the graph contains measured data scattered around a trend line, use two points on the drawn trend line, not two arbitrary dots, unless the instructions specifically ask you to use individual observations. Write each point in the order (x, y).
  5. Calculate the slope if the model is linear. For points (x₁, y₁) and (x₂, y₂), calculate (y₂ - y₁)/(x₂ - x₁). This is the change in the vertical value divided by the change in the horizontal value. For y = kx, the slope is k. For example, if the graph passes through (2, 6) and (5, 15), then the slope is (15 − 6)/(5 − 2) = 9/3 = 3. The line’s equation is y = 3x, so k is 3.
  6. For a direct proportion, verify with a single point. If the line goes through the origin and the model is y = kx, divide a nonzero point’s y-coordinate by its x-coordinate. Using (5, 15), k = 15/5 = 3. Try a second point to check that the ratio agrees. If the graph is exact, the ratios should match; if values are read approximately, small differences may come from reading or rounding.
  7. Use the model-specific calculation when the graph is not a direct proportion. If the model is y = kx + b, k is still the slope, but it is not generally equal to y/x. For y = kx², calculate k = y/x² from a suitable point. For an inverse relationship y = k/x, calculate k = xy. For an exponential graph, check whether the model defines k as a base, a multiplier, or an exponent coefficient; those are different quantities and may require logarithms or more than one point.
  8. Check the result against the graph and report it clearly. Substitute your value of k into the model and see whether it predicts the chosen points. Check the sign: a line rising from left to right has a positive slope, while one falling from left to right has a negative slope. Include units where appropriate, and state how you found the value, such as “The slope is 3 metres per second, so k = 3 m/s.” If the graph is approximate, say that your answer is an estimate.

Common Mistakes

Assuming that k always means y divided by x. That shortcut only applies directly to y = kx. In a line with a nonzero intercept, the ratio changes from point to point. For example, on y = 2x + 4, the slope is 2, but at (1, 6), y/x is 6. Use the model’s definition of k.

Using a single coordinate as the slope. A y-value is not generally the same as a slope. Slope compares changes in both coordinates, so use two points and calculate rise over run. For a proportional graph, a single point can give k by y/x because the model also passes through the origin; that is a special case.

Reversing the subtraction or the axes. Keep the y-change on top and the x-change below, and subtract in the same order for both. A slope from (2, 6) to (5, 15) is (15 − 6)/(5 − 2), not (5 − 2)/(15 − 6). Reversing both subtraction orders gives the same slope; reversing only one gives the wrong sign.

Ignoring scale, intercept, or units. A graph that starts at x = 10 does not necessarily have a zero-based horizontal axis. Read tick labels rather than counting boxes as single units. Also, do not force a line through the origin when the plotted line clearly has an intercept. Report the units of a slope as vertical units per horizontal unit.

Tips

  • Choose two points far apart on a straight line. This reduces the effect of small reading errors compared with using two nearby points.
  • Use points that fall exactly on grid intersections when possible. If you must estimate a coordinate, keep enough digits during the calculation and round only the final answer.
  • Draw a small slope triangle on the graph. Its vertical side shows the change in y and its horizontal side shows the change in x, making the rise-over-run calculation easier to check.
  • For a proportional graph, compare y/x at multiple nonzero points. A consistent ratio supports the direct-proportion model; a changing ratio may indicate a different relationship or measurement noise.
  • Check whether the question expects an exact value, a decimal, a fraction, or a value with units. Match the requested format and avoid giving more precision than the graph supports.

Troubleshooting

The line does not pass through the origin. First check whether the vertical axis is shown with a break or whether the graph is cropped. If the intercept is genuinely nonzero, do not use y/x as the slope. Find two points and calculate rise over run; then use the equation or context to determine whether that slope is the requested k.

Your two points give different answers. Confirm that both points lie on the same line and that you have read the tick intervals correctly. If the points are measured observations, the graph may show scatter rather than an exact relationship. Estimate the slope from the trend line, use points farther apart on it, and follow any instruction about rounding or fitting a line.

You get a negative value but expected a positive one. Check the direction of travel between points. If x increases while y decreases, the slope is negative. If the context says k must be positive, such as a positive proportionality constant, recheck the model, axes, and point coordinates rather than changing the sign by guesswork.

The graph is curved or the model is missing. A single slope may not describe the entire curve; the slope can change from place to place. Look for a stated equation, a table, or contextual clues that identify the relationship. If none are available, explain that the graph alone may not uniquely define k and ask which model is intended. A local tangent slope is only appropriate if the question asks for an instantaneous rate of change.

The result has unexpected units or size. Recheck the axes and any conversion between units, such as minutes and hours. For a slope, divide vertical units by horizontal units. For a product such as k = xy in an inverse model, the units multiply instead. Test the answer by substituting it back into the stated equation.

Frequently Asked Questions

Is k always the slope of a graph?
Not always. In a linear model such as y = kx + b, k is the slope. In other models, it may be a ratio, product, base, or another parameter. Identify the equation before deciding.

How do I find k if the line passes through the origin?
If the graph represents y = kx, divide the y-coordinate by the x-coordinate of any nonzero point. You can also find the slope using two points; both methods should agree.

Can I find k from only one point?
Only if the model and any other needed parameters are known. One point is enough for y = kx, because k = y/x when x is not zero. For an unrestricted straight line, one point does not determine its slope.

What if the graph does not show exact coordinates?
Read the scale carefully and estimate points on the line. Choose points far apart, calculate an approximate value, and label it as an estimate. Do not report false precision from a roughly drawn graph.

What does k equal when the graph is a curve?
There is no single answer without a model. For example, y = kx² gives k = y/x², while another curve may use a different formula. A tangent’s slope describes a local rate, not automatically the model’s parameter k.

Related

Try it: the Percentage Formula Generator: percent of, percent change, increase and decrease, with the formula.

More in Charts & pivot tables

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.