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.

Startup Conferences: What’s the point? (Slush 2017)

20 Oct 2017

With Slush coming up in about a month, it’s a good time ponder the purpose of large startup conferences. Many entrepreneurs head to conferences, like Slush, around the world and throughout the year looking for investments from venture capitalists and angel investors, yet there’s a lot more to gain from startup conferences. Think about it: there will be over 17,000 motivated and creative people in one place at one time. Get creative and gain as much as you can out of the experience.

Yuriy Mikitchenko

Yuriy Mikitchenko

The economics behind undelivered, failed SMS messages    

17 Oct 2017

The cost and full impact of undelivered or failed messages isn’t immediately clear. The financial impact is not simply the combination of the failed SMS and the cost to resend the message, which isn’t very much at times. There are other indirect costs that result from undelivered SMS messages that matter from a financial perspective. Let’s take a deeper look into the ripple effect of undelivered messages, which make the reasons behind our focus on SMS delivery quality even more clear.

Here are a few examples.

Uku Tomikas

Uku Tomikas

Fraud and Security: 2FA Considerations for PSD2

10 Oct 2017

The second Payment Services Directive (PSD2) is less than three months away from enforcement. While the regulation’s text is lengthy, a key component of the law is its extended reach in comparison to the first directive. PSD2 applies to all payment service providers and affiliates, including account information service providers and payment initiation service providers. In addition, the law applies when at least one part of the transaction is in the European Union. This means that payment service providers and their affiliates outside of the EU must comply with the law when the payer is in the EU. The additional geographical reach guarantees the same level of security expectations for all EU residents regardless of the location of the payment service provider.

Raili Liiva

Raili Liiva

Start sending messages to

for € N/A

Contact us