Searchlight
Tools
BlogAbout
Free SEO Audit
Back to home
๐Ÿ“ˆSEO & Analytics
๐Ÿ—‚๏ธText & Data
๐Ÿ”Encoders & Decoders
โšกGenerators
๐Ÿ”„Converters
๐Ÿ–ผ๏ธImage Tools
๐Ÿ“„PDF Tools
๐Ÿ’ปCode Tools
๐Ÿ”Regex & Parsing
๐ŸงฎCalculators
๐Ÿ—บ๏ธDiagrams
Mind MapFlowchartUML DiagramsSketch DiagramER DiagramGantt ChartFunction PlotterJSON TreeNetwork Graph
๐ŸŒNetwork & Web
โœ๏ธText Utilities
๐ŸŽจColor Tools
๐Ÿ”€Diff & Compare
148+ tools. OAuth is read-only.
Searchlight

148+ free SEO, developer, image, PDF, and productivity tools - no account needed.

Free ยท all tools included
Company
  • Blog
  • About
  • Free SEO Audit
Legal
  • Privacy Policy
  • Terms of Service
  • Cookie Policy

ยฉ 2026 Searchlight. All rights reserved.

Read-only OAuth ยท No data reselling ยท Completely free

Function Plotter

Plot mathematical functions using JavaScript Math expressions.

Active Functions
Math.sin(x)
View Range

About this tool

Plot mathematical functions interactively - enter any function of x and see the graph instantly. Supports trigonometric, exponential, logarithmic, polynomial, and piecewise functions. Zoom and pan the plot, overlay multiple functions, mark points of interest, and export the chart as PNG or SVG. Built for students, teachers, and engineers.

How to Plot a Mathematical Function

  1. 1Type your function in the input field using x as the variable (e.g. sin(x)/x).
  2. 2The graph appears immediately on the coordinate system.
  3. 3Scroll to zoom or drag to pan the view.
  4. 4Click 'Add Function' to overlay a second curve for comparison.
  5. 5Export the chart as PNG or SVG for use in documents.

Frequently Asked Questions

What functions can I plot?+
Any function of x: sin(x), cos(x), tan(x), exp(x), log(x), sqrt(x), abs(x), polynomials like x^3-2*x+1, and combinations. Use * for multiplication: 2*x not 2x. Use ^ for powers.
How do I plot multiple functions?+
Click 'Add Function' to add a second input field. Each function gets a different colour. You can overlay up to 6 functions to compare curves.
Can I find intersection points?+
Enable 'Show intersections' to automatically calculate and mark where two plotted functions cross. The x and y coordinates are shown at each intersection point.
What is the syntax for piecewise functions?+
Use conditional notation: x < 0 ? -x : x for absolute value, or x < 0 ? x^2 : sqrt(x) for a piecewise-defined curve. The ternary operator controls which expression applies in each region.
Looking for a deeper guide on this topic? Browse the Searchlight blog.
Visit the blog โ†’

Related tools

View all Diagrams โ†’
Mind MapInteractive mind map editor (markmap)FlowchartFlowchart & sequence diagrams via MermaidUML DiagramsClass, sequence & activity diagramsSketch DiagramFreehand whiteboard - shapes, arrows, text