Linear formula calculator

Calculate a linear formula with the y = ax + b calculator. Enter a, b and x to get the result instantly, including an explanation.

What is a linear formula?

A linear formula is a mathematical formula whose graph always forms a straight line. The most commonly used form is y = ax + b. This formula is widely used in education, engineering, economics and data analysis.

Meaning of the variables

  • a – the slope: determines how steeply the line rises or falls
  • b – the starting value: the point where the line intersects the y-axis
  • x – the input value
  • y – the result of the calculation

How does the linear formula calculator work?

With this linear formula calculator, you can easily calculate the value of y by entering the values of a, b and x. The tool automatically performs the calculation y = a × x + b and displays the result instantly.

Examples of a linear formula

Suppose a taxi ride has a base fare of €5 and costs €2 per kilometre travelled. The formula is:

y = 2x + 5

For 10 kilometres, the calculation is:

y = 2 × 10 + 5 = 25

When do you use a linear formula?

Linear formulas are used when a value increases or decreases at a constant rate. Common applications include:

  • Cost calculations (subscriptions, rates)
  • Speed, distance and time
  • Temperature and scale conversions
  • Statistical and economic models
  • School and exam problems

Why use this linear formula calculator?

  • No mathematical knowledge required
  • Instant results without manual calculations
  • Suitable for pupils, students and professionals
  • Works on mobile, tablet and desktop

Frequently asked questions

What does a negative value for a mean?

If a is negative, the line falls. This means that y becomes smaller as x increases.

Can this tool calculate decimals?

Yes, you can enter both whole numbers and decimals for a, b and x.

Is this calculator free to use?

Yes, this linear formula calculator is completely free and can be used without limits.