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 by Per C.

quizTest Your Knowledge

What event occurred on January 1, 2000?

A
WWDC
0%
B
SXSW
0%
C
Y2K
0%
D
CES
0%
Correct! Incorrect!     View the Y2K definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of Subscript on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please 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 this definition or would like to suggest a new technical term, please contact us.

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.