SMS engineering
SMS Character Limits: GSM-7, Unicode, and Concatenated Messages
Why an SMS holds 160 characters in GSM-7 but only 70 in Unicode, how long messages are split and billed, which characters count double, and how to stay in one segment.
"An SMS is 160 characters" is only half the story. The real limit depends on which characters you use, and going over it splits your message into several billed parts. Understanding encodings is one of the easiest ways to cut SMS costs.
Two encodings
| Encoding | Characters | Single message | Per part when split |
|---|---|---|---|
| GSM-7 | Latin letters, digits, common punctuation, some accented letters | 160 | 153 |
| UCS-2 (Unicode) | Everything else: Arabic, Chinese, Cyrillic, emoji… | 70 | 67 |
A message is encoded as GSM-7 only if every character is in the GSM-7 character set. A single character outside it switches the whole message to UCS-2.
Characters that count double
Some characters are in the GSM-7 "extension table" and take two character slots each:
{ } [ ] \ ~ ^ | €
A message full of brackets or euro signs reaches the limit sooner than you expect.
Characters that silently force Unicode
These look harmless but are not in GSM-7:
- Curly quotes
“ ” ‘ ’(often added by word processors). - En and em dashes
– —. - Ellipsis
…as a single character. - Emoji of any kind.
- Many accented letters, depending on the language.
Replace them with plain equivalents (" ', -, ...) in transactional templates.
How long messages are split
When a message exceeds the single-message limit, it is sent as several parts. Each part carries a User Data Header that tells the phone how to join them, which uses some of the space: hence 153 instead of 160, and 67 instead of 70. You are billed for each part.
| Length (GSM-7) | Parts |
|---|---|
| 1–160 | 1 |
| 161–306 | 2 |
| 307–459 | 3 |
| Length (Unicode) | Parts |
|---|---|
| 1–70 | 1 |
| 71–134 | 2 |
| 135–201 | 3 |
Practical rules
- Keep OTPs and alerts in one part. It is cheaper and avoids parts arriving separately.
- Run every template through a segment counter before it goes live, with real variable values (long names, large amounts).
- Watch variables. A customer name with one non-GSM letter can switch a template to Unicode for that user only.
- For Arabic, plan for 70 characters. See Arabic SMS encoding.
- Avoid emoji in SMS. Save them for WhatsApp, where they are free.
Links count too
URLs are often long. Use your own short domain rather than public URL shorteners, which spam filters often distrust.
Know before you send
A good SMS API reports the encoding and number of segments for each message, and ideally lets you check a template before sending. Include segment counts in your template review, and see how international SMS pricing works for how parts affect your bill.