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.

Have you met 1oT? Mobile data connectivity for IoT companies.

24 Apr 2018

Last week, Lauri wrote a good piece about keeping things real, because businesses have simple business models at their core. As one of our values, simplicity has led Messente to build a reliable and powerful SMS API and user authentication API for businesses and brands to communicate with their customers globally.

While we pride ourselves in doing global A2P SMS and 2FA very well, one of our sister companies, 1oT, uses a similar methodology of simplicity to do global internet of things (IoT) and machine-to-machine (M2M) connectivity really well.

Yuriy Mikitchenko

Yuriy Mikitchenko

A note on keeping things real

17 Apr 2018

Over the years, I've had the good fortune of talking to and doing business with many entrepreneurs and CEOs from a variety of industries. Some are first-time founders of small startups, while others are amazingly experienced serial entrepreneurs. Many of them are extremely successful in what they do.

So naturally, while listening to them talk about their businesses, I've always tried to spot any fundamental takeaways –the small drops of universal business advice distilled from those hundreds of conversations.

And it seems to me that a lot of the most profound business truths seem to point to a direction that I would call, "keeping it real.”

Lauri Kinkar

Lauri Kinkar

Next-generation Omnichannel API is well underway

10 Apr 2018

Over the last few months we’ve been setting the direction of our Omnichannel messaging API and our development team has started working on it. Considering transparency, we wanted to share the progress we’ve made on the API and give our clients something to look forward to, as well as helping clients prepare their systems for the next generation of our A2P messaging API.

Uku Loskit

Uku Loskit

Start sending messages to

for € N/A

Contact us