Ethernet Frame Decoder & Size Calculator
Decode raw Ethernet II frame bytes or calculate Ethernet frame size from payload, VLAN tags and FCS settings. Inspect destination and source MAC addresses, EtherType, VLAN fields, payload length, frame overhead and total wire occupancy including preamble and inter-frame gap.
| Field | Offset | Length | Hex / Value | Meaning |
|---|
—
—
What Is an Ethernet Frame Decoder & Size Calculator?
An Ethernet Frame Decoder separates raw Layer-2 frame bytes into destination MAC address, source MAC address, EtherType or VLAN information and payload. The size calculator performs the reverse type of analysis by determining header overhead, padding, FCS size and approximate wire occupancy from a payload length.
This is useful when reading packet captures, designing embedded Ethernet protocols, calculating network efficiency or checking how VLAN tagging changes frame length.
Ethernet II Frame Structure
Destination MAC 6 bytes
Source MAC 6 bytes
EtherType 2 bytes
Payload variable
FCS 4 bytes
MAC frame:
14-byte header + payload + 4-byte FCSThe preamble and Start Frame Delimiter occur before the MAC frame on the wire and are normally not part of packet-capture frame length.
Destination and Source MAC Addresses
The first six bytes form the destination MAC address. The next six bytes form the source MAC address.
00 11 22 33 44 55
→ Destination MAC
→ 00:11:22:33:44:55
66 77 88 99 AA BB
→ Source MAC
→ 66:77:88:99:AA:BBEtherType Field
For Ethernet II, the two bytes following the source MAC normally identify the upper-layer protocol unless that position contains a VLAN TPID.
| EtherType | Common Meaning |
|---|---|
| 0x0800 | IPv4 |
| 0x0806 | ARP |
| 0x86DD | IPv6 |
| 0x8100 | IEEE 802.1Q VLAN tag |
| 0x88A8 | Provider bridging / service VLAN tag |
Ethernet Frame Size
A conventional untagged Ethernet MAC frame with FCS is commonly described as:
6 bytes Destination MAC
6 bytes Source MAC
2 bytes EtherType
46–1500 bytes Payload / Data
4 bytes FCS
Minimum:
64 bytes
Maximum standard untagged:
1518 bytesThe 64-byte minimum is measured from the Destination MAC through the FCS; it does not include preamble or inter-frame gap.
Ethernet Minimum Payload
For an ordinary untagged Ethernet II frame, a short payload is padded so that the MAC frame reaches the minimum size.
Header = 14 bytes
Minimum payload/pad area = 46 bytes
FCS = 4 bytes
14 + 46 + 4
= 64 bytes802.1Q VLAN Frame Size
A single IEEE 802.1Q tag contributes four bytes between the source MAC and the original EtherType. This increases the normal maximum Ethernet frame from 1518 to 1522 bytes. :contentReference[oaicite:1]{index=1}
Destination MAC 6
Source MAC 6
802.1Q Tag 4
EtherType 2
Payload
FCS 4For small tagged frames, standards-compatible implementations may preserve a 64-byte minimum or pad tagged transmissions to 68 bytes. Therefore this tool does not incorrectly reject every tagged frame below 68 bytes. :contentReference[oaicite:2]{index=2}
Ethernet FCS
The Frame Check Sequence is normally four bytes and protects the transmitted MAC frame against corruption. Many packet-capture interfaces do not provide FCS bytes to the capture application, so a capture can appear four bytes shorter than the physical MAC frame.
Preamble and Start Frame Delimiter
Before an Ethernet MAC frame is transmitted, the physical layer carries seven preamble bytes followed by one Start Frame Delimiter byte.
Preamble:
7 bytes
SFD:
1 byte
Total:
8 bytesThese eight bytes are useful when calculating wire occupancy but are not normally counted as part of the Ethernet MAC frame size.
Ethernet Inter-Frame Gap
Ethernet also requires idle time between frames equivalent to 96 bit-times, often represented as twelve byte-times when calculating throughput.
IFG:
96 bit-times
Equivalent:
12 byte-timesThe IFG is not a field inside the Ethernet frame, but including it gives a more realistic estimate of physical-link occupancy.
On-Wire Ethernet Size Example
For a standard 1518-byte Ethernet MAC frame:
MAC frame:
1518 bytes
Preamble + SFD:
8 bytes
IFG equivalent:
12 byte-times
Wire occupancy:
1518 + 8 + 12
= 1538 byte-times1500-Byte Payload Example
Ethernet header:
14 bytes
Payload:
1500 bytes
FCS:
4 bytes
Frame:
14 + 1500 + 4
= 1518 bytes
With preamble/SFD + IFG:
1518 + 8 + 12
= 1538 byte-times1500-Byte Payload with One VLAN Tag
MAC addresses:
12 bytes
VLAN tag:
4 bytes
EtherType:
2 bytes
Payload:
1500 bytes
FCS:
4 bytes
Total:
1522 bytesThis is the familiar standard maximum for a single-tagged frame carrying a 1500-byte payload. :contentReference[oaicite:3]{index=3}
QinQ and Double VLAN Tags
A double-tagged frame contains two four-byte VLAN tags, adding eight bytes relative to the equivalent untagged Ethernet II header.
Base Ethernet header:
14 bytes
Two tags:
8 bytes
Effective header before payload:
22 bytesActual accepted maximum frame size depends on equipment configuration and network design.
Jumbo Ethernet Frames
Jumbo frames are Ethernet frames carrying payloads larger than the traditional 1500-byte Ethernet MTU. A commonly encountered configuration uses a payload around 9000 bytes.
9000-byte payload
Untagged frame with FCS:
14 + 9000 + 4
= 9018 bytesJumbo-frame limits are implementation-specific, so the calculator reports the mathematical size rather than claiming that every switch or NIC supports it.
Ethernet Header Overhead
For a large frame, fixed Layer-2 overhead is relatively small. For very short frames, the fixed header, FCS, padding and physical-wire overhead represent a much larger fraction of link usage.
The calculator therefore displays both MAC-frame bytes and physical wire occupancy separately.
Ethernet Frame Decoder FAQs
What is the minimum Ethernet frame size?
What is the maximum standard untagged Ethernet frame size?
How large is an Ethernet frame with one VLAN tag?
How many bytes is an Ethernet header?
How many bytes does a VLAN tag add?
How large is Ethernet FCS?
Is Ethernet FCS always visible in Wireshark or packet captures?
Does Ethernet frame size include the preamble?
Does Ethernet frame size include IFG?
How large is the Ethernet preamble and SFD?
How large is the Ethernet inter-frame gap?
What EtherType is IPv4?
What EtherType is IPv6?
What EtherType is ARP?
What does 0x8100 mean in Ethernet?
What is a jumbo Ethernet frame?
Can this decoder calculate Ethernet CRC/FCS?
Decode Ethernet Frames and Calculate Real Frame Size
Inspect raw Layer-2 bytes or calculate Ethernet header, VLAN, payload, padding, FCS and wire-level overhead without mixing packet-capture length with physical link occupancy.