Desmos doesn't have a built-in subscript button, but you can create subscript text using underscore notation in labels and expressions
When you type an underscore followed by a character in Desmos — like x_1 or a_n — the character after the underscore appears smaller and lower than the regular text. This works in axis labels, point labels, and anywhere else Desmos accepts text input. The underscore tells Desmos to format what comes next as subscript.
The subscript effect only applies to the single character immediately after the underscore. If you need multiple characters as subscript, you must use an underscore before each one. For example, x_1_2 creates x with both 1 and 2 as subscripts, while x_12 would only subscript the 1.
Key Takeaways
- Type an underscore before any character to make it subscript in Desmos labels and text fields.
- Each subscript character needs its own underscore, so a_n_1 subscripts both n and 1.
- Subscript works in axis labels, point labels, and text boxes, but not in the actual mathematical expressions you're graphing.
- If you need superscript instead, use a caret (^) before the character, which works the same way as underscore.
Where subscript works in Desmos
Subscript formatting appears in any text label you create. The most common places are axis labels (the names of your x and y axes), labels on individual points, and text boxes you add to your graph. When you click on an axis name or create a new label, type your subscript notation directly into that field.
Subscript does not work inside the mathematical expressions themselves — the formulas you enter to define functions or relationships. If you write y = x_1 + 2 as an expression, Desmos treats the underscore as a syntax error rather than formatting. Subscript is purely for display labels, not for the math itself.
Step-by-step: Adding subscript to an axis label
Open your Desmos graph and look at the bottom left corner where it says "x" and "y". Click directly on the "x" label. A text box appears where you can edit the axis name. Type your new label using underscores before any character you want subscripted — for example, x_0 or position_1.
Press Enter or click elsewhere on the graph to save the label. The subscript formatting takes effect immediately. Repeat the same process for the y-axis by clicking on its label. You can use subscript on both axes at the same time.
Step-by-step: Adding subscript to a point label
Plot a point on your graph by entering coordinates like (2, 3) into an expression line. Once the point appears, right-click on it (or long-press on mobile) and select "Label point". A text box opens where you can name that point.
Type your label with underscores for subscript — for instance, P_1 or vertex_a. Press Enter to confirm. The label now appears on your graph with the subscripted characters formatted smaller and lower. You can label as many points as you need this way.
Using subscript in text boxes
Click the text tool (usually represented by an "A" icon in Desmos) to add a text box anywhere on your graph. Type your text with underscores before subscript characters. You can write something like The sequence a_n converges to L, and the n will appear as subscript.
Text boxes are useful when you want to add explanatory notes or labels that don't attach to a specific point or axis. The subscript formatting works exactly the same way as in other labels — one underscore per character you want subscripted.
Superscript and other formatting options
Desmos also supports superscript using the caret symbol (^). Type x^2 in a label and the 2 appears as superscript. Like subscript, each character needs its own caret if you want multiple superscripts. You can combine subscript and superscript in the same label: x_1^2 creates x with subscript 1 and superscript 2.
Beyond subscript and superscript, Desmos labels support basic text but not bold, italic, or color formatting. If you need more advanced text styling, you may need to take a screenshot of your graph and edit it in an image editor or document program.
Common issues and how to fix them
If your subscript isn't appearing, check that you used an underscore (not a hyphen or dash) and that it comes before the character you want subscripted. Desmos is particular about the order — x_1 works, but 1_x does not subscript the x.
Another common mistake is trying to use subscript inside a mathematical expression. If you write y = a_1 * x + b_1 as a function to graph, Desmos will show an error. Instead, write the expression normally (y = a * x + b) and use subscript only in the label you give to that line or in separate text boxes explaining what a and b represent.
Frequently Asked Questions
Can I make multiple characters subscript without typing an underscore before each one?
No. Desmos subscripts only the single character immediately after each underscore. To subscript multiple characters, type an underscore before each one: x_1_2_3 subscripts all three numbers. This is the only way to achieve multi-character subscripts in Desmos labels.
Does subscript work in the expressions I'm graphing, or only in labels?
Only in labels. Subscript formatting is for display purposes — axis names, point labels, and text boxes. Inside the mathematical expressions that define your functions, underscores are treated as syntax and will cause errors. Use subscript only in the text and labels around your graph.
Can I use subscript and superscript together on the same character?
No. You can place subscript and superscript on different characters in the same label — like x_1^2 — but a single character cannot be both subscript and superscript at once. Desmos applies only the formatting closest to the character.
What if I actually want to type an underscore without making subscript?
This is difficult in Desmos because underscore always triggers subscript formatting in labels. If you need a literal underscore in a label, you may need to use a workaround like typing the label in a text box and taking a screenshot, then editing the image separately.