Skip to the content

SMS Length Calculator

Count the characters and message parts of an SMS, and spot what pushes it over.

Characters
0
Encoding
GSM-7
160 in one message, 153 per part
Message parts
0
Left in this part
160
of 160

Cost estimate

$

Type a message to see what sending it costs.

Share this tool:TwitterFacebookLinkedInWhatsAppEmail

Where 160 comes from

A text message has room for 140 bytes of content, which is 1,120 bits. The standard GSM alphabet spends 7 bits on a character, and 1,120 ÷ 7 = 160. A single character outside that alphabet forces the whole message into UCS-2, which spends 16 bits on every character: 1,120 ÷ 16 = 70.

A longer text travels as several messages that the receiving phone joins together again. For that, each part starts with a header of 6 bytes that says which text it belongs to and where it goes. That leaves 134 bytes per part, enough for 153 characters of 7 bits or 67 of 16.

One messageEach part of a longer text
GSM-7160153
UCS-27067

So a text of 161 characters is not one message and a bit. It is two parts, of 153 and 8 characters, and providers normally bill each part as a message.

What is in the GSM-7 alphabet

The letters a to z in both cases, the digits, the usual punctuation, and a limited set of extras:

  • accented letters à ä å æ è é ì ñ ò ö ø ù ü ß and the capitals Ä Å Æ Ç É Ñ Ö Ø Ü
  • the symbols @ £ $ ¥ ¤ § ¡ ¿ _
  • ten Greek capitals: Δ Φ Γ Λ Ω Π Ψ Σ Θ Ξ

Missing are, among others, á í ó ú â ê î ô û ë ï ã õ ç and nearly all accented capitals. Ordinary sentences in Spanish, French, Portuguese or Dutch can therefore end up in UCS-2.

Ten more characters live in an extension table: ^ { } [ ] ~ | \ € and the form feed. They keep the message in GSM-7, but each one takes two of the 160 places.

The usual culprits

The character that tips a message over is rarely one you chose. Word processors and phone keyboards quietly swap what you type for the typographic version, and a text copied from a document or a web page brings those along.

CharacterWhat it isPlain version
‘ ’curly apostrophe or single quote'
“ ”curly double quotes"
– —en dash and em dash-
…ellipsis, a single character...
(looks like a space)no-break spacean ordinary space

The price can be steep. A text of 150 characters is one message in GSM-7. With a single curly apostrophe in it, the same text is 150 characters of UCS-2, which is three parts.

"Replace with plain equivalents" swaps exactly these kinds of characters and leaves letters alone. Removing accents is a separate button, because it changes the spelling. Emoji always force UCS-2, and most of them take two of the 70 places.

What this page cannot know

It counts with the default alphabet. The same standard, 3GPP TS 23.038, also defines national language shift tables for Turkish, Spanish, Portuguese and a number of South Asian languages, which fit extra letters into 7-bit messages. Whether they are used depends on your provider and on the receiving phone, so they are not counted on here.

Providers differ in other ways too. Some replace unsupported characters for you before sending. Some use a 7-byte header, which leaves 152 or 66 characters per part instead of 153 or 67. The standard's own table prints Ç as a capital, while some implementations treat that position as the lowercase ç; this page follows the table.

The cost estimate is parts × recipients × your price and nothing more. Rates vary by country and by provider, so take the price from your own contract.