Messente avatar logo

How is the actual length of SMS calculated

- 5 MIN READ - 15 Sep 2012

Regular SMS is 160 characters long, but there is more to that. Let’s start from the alphabet that is used for SMS.

GSM 03.38 character set defines GSM 7 bit alphabet (with extension table) and GSM 8 bit data encoding.

GSM 7 bit alphabet

Basic character set:
@£$¥èéùìòÇ'Øø'ÅåΔ_ΦΓΛΩΠΨΣΘΞ'ÆæßÉ !"#¤%&'()*=,-./01234
56789:;
<=>?¡ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÑÜ'¿abcdefghi
jklmnopqrstuvwxyzäöñüà

Extension table characters:
|^€{}[]~

When you say that an SMS is 160 characters long, this means, that it can contain 160 characters from the Basic character set above.

Every character from the extension table (|^€{}[]~) takes up two regular characters!

Example: When you type text “Hello World! ^_^” it is 16 characters long, but actually takes up 18 characters on a regular message (due to two carets “^”)!

GSM 8 bit data encoding

When your message contains even one character that is not included in the GSM 7 bit alphabet (for example š, ž, –, ´, “), then the message is sent in 8 bit data encoding.

The length of one message is 70 characters for 8 bit SMS instead of 160 characters for 7 bit SMS!

Multipart message

7bit: 160 + 160 = 320 306

8bit: 70 + 70 = 140 134

When you send a message, that exeeds the length of one message, the message is sent as multipart message. Combining two messages as one large message takes up a few extra characters, so the length of two regular messages is 306 characters instead of 320 characters. This also implies to SMS sent with GSM 8bit data encoding.

Live SMS length calculator

Messente also has a free web-based SMS length calculator - give it a try on http://messente.com/documentation/sms-length-calculator

Jaanus Rõõmus

Jaanus Rõõmus - CTO

Jaanus is co-founder and CTO of Messente and makes sure its wheels keep spinning and Messente always has a full tank of fuel.

An easy way to add more confidentiality - hiding SMS content

15 Aug 2017

In a previous blog, we discussed Flash SMS and how it’s used to ensure confidentiality with SMS messaging. Well, Messente’s API provides two more features that help hide message content:

  • Content no-store
  • Content hashing
Uku Tomikas

Uku Tomikas

Join us to learn how we're helping people #TurnOn2FA

01 Aug 2017

We’ve developed solid APIs for global SMS messaging and two-factor authentication, which are currently part of processes for hundreds of companies and facilitate thousands of transactions every day. Yet we aren’t stopping there. Effectively communicating with customers and securing customer account access online are two aspects of business technology we focus on. While there’s much more to business technology (much, much more,) these are the two areas which we strive to be the best.  

That’s why we keep developing our tools to address evolving needs in the areas which we specialize. 

Yuriy Mikitchenko

Yuriy Mikitchenko

Tools to avoid breaking the budget with SMS

01 Aug 2017

Getting the most bang out of each buck in a marketing communication strategy requires solids budget estimation. Yet when the budget is broken halfway through the month, the questions arise: How did this happen? How have we sent twice as many SMS messages than we should have at this point? Well, this is where the multipart SMS comes into play.

Uku Tomikas

Uku Tomikas

Start sending messages to

for € N/A

Contact us