---
title: "NDEF Capacity Calculator — How much fits on your NFC tag? | Roxtron"
description: "Pick an NFC chip (NTAG213/215/216, NTAG 424 DNA, MIFARE Ultralight EV1, ICODE SLIX2, ST25DV, ST25TV) and a payload (URL, text, vCard, Wi-Fi). Live remaining-bytes readout with NDEF URI-prefix compression applied."
url: "https://rfid-datasheet.com/tools/ndef-calculator"
---

# NDEF Capacity Calculator

Live check: does your URL / text / vCard / Wi-Fi payload fit on your chosen NFC chip? NDEF framing and URI-prefix compression are applied.

Type 2. Raw area: 144 B; modeled capacity: 144 B.

Prefix `https://` compressed to 1 byte (code `0x04`). Remainder stored: `roxtron.com/rfid`

Fits this example layout
24 / 144 B
120 bytes remaining
Byte breakdown

- Record header (SR=yes, type "U")4
- Record payload 17
- Message TLV wrapper + terminator 3

URI prefix "https://" compressed to 1 byte (code 0x4).

## How this calculator works

This estimator counts one NDEF record using UTF-8, short-record headers for payloads below 256 bytes, and URI-prefix compression. Type 2 and Type 5 layouts use a message TLV and a terminator; Type 4 uses a two-byte NLEN inside the NDEF file. Type 5 examples also reserve their Capability Container. Actual writable space depends on the tag's CC, file configuration, lock/control TLVs and existing records. Enter additional reserved bytes for your formatter and confirm the result with your target reader or phone. This is a capacity estimate, not a tag writer.

Sources: [NXP NTAG21x](https://www.nxp.com/docs/en/data-sheet/NTAG213_215_216.pdf), [NTAG 424 DNA](https://www.nxp.com/docs/en/data-sheet/NT4H2421Gx.pdf), and [ST AN4911](https://www.st.com/resource/en/application_note/dm00328901-ndef-management-with-st25dvxxx-and-st25tvxxx-products-stmicroelectronics.pdf). Model reviewed 17 October 2026.

## URI prefix table

If your URL starts with one of these strings, a single byte replaces the whole prefix.

0x01 http://www.
0x02 https://www.
0x03 http://
0x04 https://
0x05 tel:
0x06 mailto:
0x07 ftp://anonymous:anonymous@
0x08 ftp://ftp.
0x09 ftps://
0x0A sftp://
0x0B smb://
0x0C nfs://
0x0D ftp://
0x0E dav://
0x0F news:
0x10 telnet://
0x11 imap:
0x12 rtsp://
0x13 urn:
0x14 pop:
0x15 sip:
0x16 sips:
0x17 tftp:
0x18 btspp://
0x19 btl2cap://
0x1A btgoep://
0x1B tcpobex://
0x1C irdaobex://
0x1D file://
0x1E urn:epc:id:
0x1F urn:epc:tag:
0x20 urn:epc:pat:
0x21 urn:epc:raw:
0x22 urn:epc:
0x23 urn:nfc:

## FAQ

**Why can raw user memory exceed writable NDEF space?**

NDEF framing, the advertised memory area, formatting metadata and application configuration all consume or restrict space. The selected example lists its assumptions.

**Are bytes the same as characters?**

No. UTF-8 characters can occupy multiple bytes. The calculator counts encoded bytes, including the language code for text records.

**Will any phone accept a Wi-Fi record?**

No. This models one WSC credential. Operating-system support and optional vendor fields vary; test the actual deployment.
