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!

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 'Y-Intercept' algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any 'Y-Intercept' function (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and no data download, script, copy-paste, or API access for 'Y-Intercept' will be for free, same for offline use on PC, tablet, iPhone or Android ! dCode is free and online.

Need Help ?

Please, check our dCode Discord community for help requests! NB: for encrypted messages, test our automatic cipher identifier!

Questions / Comments

Thanks to your feedback and relevant comments, dCode has developed the best 'Y-Intercept' tool, so feel free to write! Thank you!

Thanks to your feedback and relevant comments, dCode has developed the best 'Y-Intercept' tool, so feel free to write! Thank you!