TELECOM UTILITY & ENCODING DIAGNOSTICS

SMS Segment & Character Calculator

Calculate exact SMPP message segments, byte limits, and character encodings to avoid split SMS charges in real time.

LIVE PAYLOAD INSPECTOR
Client-side real-time calculation • No payload transmitted off-device
Detected Encoding
GSM-7
7-bit (160 chars/seg)
Billable Segments
1
Carrier billable units
Total Characters
32
Raw character count
Remaining in Seg
128
Before next split
Est. Cost (USD)
$0.0079
Baseline $0.0079 / unit
153-Byte Concatenation Header Segmentation Visualizer Single segment buffer
Standard Encoding GSM 03.38

GSM-7 vs UCS-2 Encoding Mechanics

Standard SMS networks use GSM 03.38 7-bit default alphabet, which packs 160 characters into a single 140-byte (1,120-bit) signaling packet.

The presence of even a single non-GSM character (such as Cyrillic, emoji, accented glyphs, or curved quotes) forces carriers to switch the entire message to UCS-2 16-bit encoding, dropping the single-message limit from 160 to 70 characters instantly.

Multipart Packet UDH Overhead

Why Concatenated Messages Reduce Segment Limits

When an SMS exceeds the single segment threshold, carriers split the message into multipart packets. To allow recipient devices to reassemble the message correctly, each segment carries a 6-byte User Data Header (UDH).

  • GSM-7 multipart: 153 characters per segment (7 characters reserved for UDH).
  • UCS-2 multipart: 67 characters per segment (3 characters / 6 bytes reserved for UDH).
Companion Telephony Utilities & Diagnostics
E.164 Phone Formatter

Format national telephone numbers into canonical international E.164 dial strings.

Webhook Payload Validator

Test Twilio, Telnyx, and Sinch signature verification and packet structures.

Delivery Troubleshooter

Diagnose 10DLC carrier filtering, shortcode blocks, and delivery latencies.

Developer API • Programmatic Encoding Checks
POST /api/v1/tools/segment-calc/
# Calculate SMS encoding units programmatically via REST or MCP
curl -X POST https://smsriver.com/api/v1/tools/segment-calc/ \
  -H "Content-Type: application/json" \
  -d '{"text": "Your SMSRiver verification token is: 849-204"}'
Test Message Delivery Across Active Country SIM Pools
View All 50+ Countries →
United States +1 United Kingdom +44 Canada +1 Germany +49
Copied to clipboard