NathanTools
NathanTools
Text Tools 13
SEO Tools 7
Image Tools 19
YouTube Tools 38
Device Tests 4
PDF Tools 10
Calculators 52
Electrical Calculators 10
Time Tools 7
Random Tools 9
Converters 14
Developer Tools 11
Hash Generators 5
Password & Security 2
Network & DNS 3
Website Tools 9

Graphing Calculator

Type a function of x to plot it. Add more functions to compare them, drag and zoom to explore, and hover to read values.

100% free No sign-up Works on any device
Try:

Hover over the graph to read values.

How to use the graphing calculator

  1. Type a function of x in the box, such as 2x + 1 or x^2 - 4.
  2. Press Add function to plot up to six functions together and compare them.
  3. Drag to move around, scroll or pinch to zoom, and hover to read values.
  4. Use the eye icon to hide a curve, and Download PNG to save the graph.

Function syntax

To writeType
x squared, x cubedx^2, x^3
2 times x2x or 2*x
Square root, cube rootsqrt(x), cbrt(x)
Absolute valueabs(x) or |x|
Natural log, log base 10ln(x), log(x)
e to the xe^x or exp(x)
Trigonometry (radians)sin(x), cos(x), tan(x), asin(x)…
πpi

Common graphs to know

  • Linear y = mx + b: a straight line with slope m crossing the y-axis at b.
  • Quadratic y = ax^2 + bx + c: a parabola, opening up when a > 0. Find its roots and vertex with the quadratic formula calculator.
  • Exponential y = 2^x: grows faster and faster; y = 0.5^x decays.
  • Reciprocal y = 1/x: a hyperbola with asymptotes along both axes.
  • Sine and cosine: waves that repeat every 2π (about 6.28).

Need a single answer rather than a graph? Use the scientific calculator.

Frequently asked questions

Type the right-hand side of y = … into a box, for example x^2 - 3 or sin(x). The graph draws as you type. Press Add function to plot more curves on the same axes, each in its own colour.

Use x as the variable, + − * / for arithmetic and ^ for powers (x^3). Multiplication can be implied: 2x, 3(x + 1) and x sin(x) all work. Functions include sin, cos, tan, asin, acos, atan, sqrt, cbrt, abs (or |x|), ln, log (base 10), exp, floor, ceil and round, with the constants pi and e. Trig functions use radians.

Drag the graph to move it. Zoom with the mouse wheel or a two-finger pinch, or use the + and − buttons. Press the home button to go back to the standard view centred on the origin.

Hover over the graph (or touch it on a phone) to see the x value under your pointer and the y value of every function at that x, shown below the graph.

Some functions aren't defined everywhere. 1/x has a vertical asymptote at x = 0, tan(x) at odd multiples of π/2, and sqrt(x) and ln(x) only exist for positive x (or x ≥ 0). The calculator leaves gaps there instead of drawing misleading lines.

Yes. The page address updates with your functions, so you can copy it from the address bar to share, and Download PNG saves an image of the current view.
All Calculators
Age Calculator Find your exact age in years, months and days. BMI Calculator Calculate body mass index from height and weight. Loan Calculator Monthly payment, total interest and amortization schedule. Mortgage Calculator Monthly mortgage payment with taxes, insurance and PMI. Time Calculator Add or subtract time, or find the time between two times or dates. Date Calculator Days between two dates, or add and subtract days from a date. Scientific Calculator Trigonometry, logarithms, powers, roots and memory. Percentage Calculator Percent of a number, percentage change, increase and decrease. Tip Calculator Work out the tip and split the bill between friends. GPA Calculator Semester and cumulative GPA, weighted or unweighted. Grade Calculator Weighted course grade and the final exam score you need. Fraction Calculator Add, subtract, multiply and divide fractions with steps. Compound Interest Calculator Grow savings with compound interest and monthly deposits. Car Loan Calculator Monthly car payment with trade-in, sales tax and fees. Calorie Calculator Daily calories to maintain, lose or gain weight. TDEE Calculator Total daily energy expenditure at every activity level. BMR Calculator Basal metabolic rate with three formulas. Macro Calculator Daily protein, carbs and fat in grams for your goal. Body Fat Calculator Body fat % from a tape measure (US Navy method). Due Date Calculator Pregnancy due date and how far along you are. Ovulation Calculator Fertile window and ovulation dates for the next 6 cycles. Inflation Calculator What US dollars are worth across years, 1913 to today. Sales Tax Calculator Add tax to a price, take it out, or find the rate. Discount Calculator Sale price, savings and stacked discounts. Margin Calculator Profit margin, markup and selling price. Concrete Calculator Cubic yards and bags for slabs and post holes. Square Footage Calculator Area of rooms and plots in sq ft and m². Paint Calculator Gallons or litres of paint for a room. Time Card Calculator Weekly hours worked, overtime and pay. Sleep Calculator When to go to bed or wake up, in sleep cycles. Roman Numeral Converter Convert numbers to Roman numerals and back. Square Root Calculator Square, cube and nth roots, simplified. Ratio Calculator Simplify ratios, solve proportions, split amounts. Average Calculator Mean, median, mode and weighted average. Standard Deviation Calculator Sample and population SD and variance, with steps. Quadratic Formula Calculator Solve ax² + bx + c = 0 with steps and a graph. Percent Error Calculator Percent error and percent difference, with steps. LCM & GCF Calculator Least common multiple and greatest common factor, with steps. Log Calculator Logarithms in any base, natural log and antilog. Exponent Calculator Powers with negative, fractional and huge exponents. Factorial Calculator Exact n! up to 10,000, double factorial and gamma. Remainder Calculator Quotient and remainder with long division steps. Scientific Notation Calculator Convert and calculate in scientific and E notation. Pythagorean Theorem Calculator Find the hypotenuse or a leg of a right triangle. Trigonometry Calculator sin, cos, tan and inverses in degrees or radians. Complex Number Calculator Add, multiply, divide and convert complex numbers. Exponential Growth Calculator Growth and decay, doubling time and half-life. Multiplication Table Printable times tables up to 30 × 30, plus a quiz. Decimal to Fraction Converter Decimals, fractions and percents, including repeating decimals. Simple Interest Calculator I = P × r × t, solving for any value. APY Calculator APR to APY (effective annual rate) and back.
Esc
↑ ↓ to moveEnter to open