Tool for calculating the y-intercept of a line from 2 points or from 1 point and the slope coefficient. Calculation of the intercept of the line with the y-axis.

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day! A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!

Tool for calculating the y-intercept of a line from 2 points or from 1 point and the slope coefficient. Calculation of the intercept of the line with the y-axis.

Answers to Questions

What is the y-intercept? (Definition)

The y-intercept is the intersection point of the function/line with the y (ordinate) axis for the abscissa value x = 0 (origin).

For any function (not necessarily affine/linear), calculate the value for $ x = 0 $. The value obtained is the y-intercept.

Example: A curve of equation $ 3x ^ 2 + 1 $, with $ x = 0 $ is $ 3 \times 0^2 + 1 = 1 $, so 1 is the y-intercept

For an equation of a line of the plane, the equation has the form $ a x + b $ with $ b $ the y-intercept.

Example: A line of equation3x+4 has 4 as y-intercept

From 2 points (line only)

With 2 points, can be calculated the equation of the line (see the linear equation calculator) and thus to deduce the y-intercept (see above)

From the slope coefficient and 1 point (line only)

Knowing the slope coefficient of a line and a point, can be deduced the equation of the line (see the linear equation calculation) and thus deduce the y-intercept (see above).

Source code

dCode retains ownership of the online 'Y-Intercept' tool source code. Except explicit open source licence (indicated CC / Creative Commons / free), any algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (PHP, Java, C#, Python, Javascript, Matlab, etc.) no data, script or API access will be for free, same for Y-Intercept download for offline use on PC, tablet, iPhone or Android !

Need Help ?

Please, check our community Discord for help requests!