Subscript

A subscript is a character or string that is smaller than the preceding text and sits at or below the baseline. Subscripts have many scientific applications, including mathematics, computer science, and chemistry.

Below is an example of a math function that uses subscripts to define the Fibonacci sequence:

Fn = Fn-1 + Fn−2

The small "n" is a subscript. When used in the context "Fn," it refers to a function evaluated for the value "n." The text n-1 and n-2 are also subscripts that define previous values of "n" in the sequence.

In computer science, subscripts can be used to specify a number system. For example, the decimal or "denary" number 200 is equal to 11001000 in binary and C8 in hexadecimal. Instead of writing out the full words, you could describe the equality of the three numbers with the following statement:

20010 = 110010002 = C816

Subscripts are also used in chemistry to describe chemical compounds. For example, the molecular structure of water, which includes two hydrogen atoms and one oxygen atom, is commonly written:

H2O

Most modern word processors include a text formatting option that allows you to enter subscript or superscript text. HTML provides the <sub> tag for displaying subscript on webpages. If a text editor doesn't provide subscript formatting, you can shrink the font size of the subscript as a workaround. If you are working with plain text, the only option is to enter subscript characters on a separate line below the text.

Updated May 14, 2015

Definitions by TechTerms.com

The definition of Subscript on this page is an original TechTerms.com definition. If you would like to reference this page or cite this definition, you can use the green citation links above.

The goal of TechTerms.com is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about the Subscript definition or would like to suggest a new technical term, please contact us.

Want to learn more tech terms? Subscribe to the daily or weekly newsletter and get featured terms and quizzes delivered to your inbox.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.