# Electric and magnetic field lines > How do electric and magnetic fields look? Drag charges around, or switch to a wire or a coil, and see the field lines and the field strength at a probe point. Draw electric field lines of point charges and magnetic field lines of a straight wire or a coil, drag them and read the field strength at a point. - Page: https://how.box/field-lines/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/field-lines/?m={m}&q1={q1}&x1={x1}&y1={y1}&q2={q2}&x2={x2}&y2={y2}&q3={q3}&x3={x3}&y3={y3}&i={i}&n={n}&r={r}&px={px}&py={py} - `m` (charges, wire or coil): charges, wire or coil. Example: `charges`. - `q1` (number -100 to 100): Charge 1 in µC (signed). Example: `2`. - `x1` (number -8 to 8): Charge 1 x position in cm. Example: `-3`. - `y1` (number -5 to 5): Charge 1 y position in cm. Example: `0`. - `q2` (number -100 to 100): Charge 2 in µC (signed). Example: `-2`. - `x2` (number -8 to 8): Charge 2 x position in cm. Example: `3`. - `y2` (number -5 to 5): Charge 2 y position in cm. Example: `0`. - `q3` (number -100 to 100): Charge 3 in µC (0: none). Example: `0`. - `x3` (number -8 to 8): Charge 3 x position in cm. Example: `0`. - `y3` (number -5 to 5): Charge 3 y position in cm. Example: `-3`. - `i` (number -1000 to 1000): Current of the wire or coil in A. Example: `10`. - `n` (number 1 to 1000): Turns of the coil. Example: `5`. - `r` (number 0.5 to 4): Radius of the coil in cm. Example: `3`. - `px` (number -8 to 8): Probe point x position in cm. Example: `0`. - `py` (number -5 to 5): Probe point y position in cm. Example: `3`. Example answer: https://how.box/field-lines/?m=charges&q1=2&x1=-3&y1=0&q2=-2&x2=3&y2=0&q3=0&x3=0&y3=-3&i=10&n=5&r=3&px=0&py=3 A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `field_lines_field`: Field at a probe point (probe_x, probe_y in cm) in a plane. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"field_lines_field","arguments":{"mode":"charges","q1":2,"x1":-3,"y1":0,"q2":-2,"x2":3,"y2":0,"q3":0,"x3":0,"y3":-3,"current":10,"turns":5,"radius":3,"probe_x":0,"probe_y":3}}}` - GET: https://how.box/mcp/run/field_lines_field?mode=charges&q1=2&x1=-3&y1=0&q2=-2&x2=3&y2=0&q3=0&x3=0&y3=-3¤t=10&turns=5&radius=3&probe_x=0&probe_y=3 ## How it works A field says what force a small test charge or magnet would feel at each point. Field lines draw it: they point along the field, and where they crowd together the field is strong. Electric field lines start on positive charges and end on negative ones; the field of a magnet or a current has no beginning or end, so its lines close on themselves. A point charge q makes an electric field E = k·q/r² at distance r, where k = 8.99 × 10⁹ N·m²/C². A long straight wire with current I makes a magnetic field B = μ₀I/(2πr) around it, in circles, with μ₀ = 1.2566 × 10⁻⁶ N/A². A coil of N turns and radius R has B = μ₀NI/(2R) at its centre, like a bar magnet. Fields from several sources add as arrows. For example, a 1 µC charge makes a field of 9.99 MV/m at 3 cm. The drawing shows a flat slice through the setup, with the sources as dots: a dot in a circle for current out of the page, a cross for current into it. The lines are drawn with a fixed number per charge, so their spacing shows the shape of the field, not its strength. Source: OpenStax University Physics, volume 2, sections 5.4, 5.6, 12.2 and 12.4. ## FAQ **Why do field lines never cross?** At every point the field has just one direction. Two lines crossing would mean two directions at once. **Why do electric field lines start and end on charges?** Because electric charges are the sources and sinks of the field. Lines go out of positive charges and into negative ones; with a single charge they run off to infinity. **What does a dot in a circle mean?** It marks a current flowing out of the page towards you; a cross means into the page. The right-hand rule gives the direction of the magnetic field around it. **Why is the field zero between two equal charges?** Their fields point in opposite directions and are equally strong at the midpoint, so they cancel. The field lines bend away from that spot. **Does the number of lines show the strength?** Not exactly. This tool draws a fixed number of lines per charge, more for a bigger charge, so crowding shows where the field is strong but the count is only a guide. Read the strength at the probe point. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)