To use superscript or subscript in Google Docs, open your document at docs.google.com and highlight the text or number you want to format. Then, go to the top menu and click on “Format.” From the dropdown, hover over “Text,” and then choose either “Superscript” or “Subscript” depending on your need. Superscript raises the text above the baseline (useful for exponents like x²), while subscript lowers it (useful in chemical formulas like H₂O). For quick access, you can also use keyboard shortcuts: press Ctrl + . (period) for superscript and Ctrl + , (comma) for subscript on Windows; on Mac, use Cmd + . for superscript and Cmd + , for subscript. This feature is especially helpful in scientific, mathematical, or academic writing.