Zencal University

Calculating SMS Message Length

SMS messages have a limited number of characters, which can vary depending on the character encoding used. Below are instructions on how to calculate the length of your SMS message in two different scenarios: when the message does not contain special characters and when it includes Polish diacritic marks.

Scenario 1: Message Without Special Characters (Using GSM-7):

  1. Count Characters: Count all letters, numbers, and standard characters in your message.
  2. Calculate Length: If your message contains only characters from the GSM-7 character set (Latin alphabet letters, numbers, and standard characters), you can send up to 160 characters in one message.

Example 1:

Message: "Hello! How are you?"SMS Length (Without Special Characters): 18 characters

SMS Length (Using GSM-7): 18 characters (you can send this in one message)

Scenario 2: Message with Polish Diacritic Marks (Using Unicode):

  1. Count Characters: Count all letters, numbers, and special characters in your message, including Polish diacritic marks.
  2. Calculate Length: If your message contains Polish diacritic marks or characters outside the GSM-7 character set, it will be encoded in Unicode, limiting the SMS length to 70 characters.

Example 2:

Message: "Ładna pogoda dzisiaj ☀️"

SMS Length (With Polish Diacritic Marks): 25 characters

SMS Length (Using Unicode): 25 characters (you can send this in one message, but it will cost more than an SMS without special characters)

Remember that if your message exceeds the length limit, it will be automatically split into parts (segments), and each segment is billed separately. Therefore, it's important to pay attention to the message length to avoid unnecessary costs and ensure your message is correctly delivered to the recipient.