House of Calculator

Type up to three functions of x, set the range, and see them drawn on a graph with the intercepts and sample points worked out for you.

Results are estimates for planning. Check the figures before you make a financial or health decision.

Embed this calculator on your website

Free to use. Copy the code and paste it into your page. Please keep the link under the calculator in place: it is how we keep the tool free.

How to use the graphing calculator

Type a function of x in the first box, for example x^2 – 4, 2x + 1 or sin(x). Add up to two more to compare them on the same axes. Set the smallest and largest x to choose the window. Leave the y boxes empty and the graph fits itself, or fill them in to zoom.

What you can type

  • Operators: + − * / and ^ for powers. Brackets are supported, and 2x means 2 times x.
  • Functions: sin, cos, tan, asin, acos, atan, sqrt, abs, ln, log (base 10), exp, floor, ceil, round, cbrt.
  • Constants: pi and e. Angles are in radians.

The calculator also finds where each curve crosses the x-axis within your range and gives the y-intercept and five sample points.

Worked example

Plot y = x² − 4 and y = 2x + 1 for x from −6 to 6.

Functiony-interceptx-intercepts in range
x^2 – 4−4−2 and 2
2x + 11−0.5

The parabola opens upwards with its lowest point at (0, −4). The straight line crosses it where x² − 4 = 2x + 1, which you can see on the graph.

Tips and common mistakes

If the curve looks flat or cut off, change the y range. For fast-growing functions such as x^4 a narrower x range shows the shape better.

Use brackets around the top of a power or fraction: write x^(1/2) rather than x^1/2, and 1/(x+1) rather than 1/x+1.

Functions like tan(x) and 1/x jump to infinity. The graph leaves those jumps unconnected, so you do not see false vertical lines.

For a quadratic with a labelled vertex, or a straight line from two points, the dedicated calculators give more detail.

Frequently asked questions

How do I graph y = x^2?

Type x^2 in the first function box. The curve is a parabola with its lowest point at (0, 0).

Does it use degrees or radians?

Radians. To use degrees, multiply the angle by pi/180, for example sin(x*pi/180).

Can I plot more than one function?

Yes, up to three at once, each drawn in its own colour.

Why does my graph show nothing?

The function may have no real values in the range you chose, or the y range may be set away from the curve. Clear the y boxes to fit the graph automatically.

Related calculators