Bit Stuffing In Computer Network/ What is bit stuffing and how does it work?

Hello Friends, In this blog post(Bit Stuffing In Computer Network) I am going to let you know about the bit stuffing process while transmitting the data from sender to receiver.

Bit Stuffing In Computer Network is the process of adding one extra 0 bit whenever there are five consecutive 1’s in the data so that the receiver does not mistake the data for a flag.

What is meant by bit stuffing(Bit Stuffing In Computer networks) give an example?

The insertion of extra bits into a data stream to avoid the appearance of unintended control sequences.

When the receiver sees five consecutive incoming 1 bits, followed by a 0 bit, it automatically De-stuffs the 0 bit.

Just as character stuffing is completely transparent to the network layer in both computers, so is bit stuffing.

If the user data contain the flag pattern, 01111110 this flag is transmitted as 011111010 but stored in receiver memory as 01111110.

An example of bit stuffing is given below.

Example: Bit Stuffing In Computer Network

Thus the given data stream does not contain five consecutive bits, therefore there is no change in the frame after bit stuffing.

Frame after bit stuffing is given as :
1001 10001100001110000011

In the case of any queries, you can write to us at [email protected] we will get back to you ASAP.

Hope! you would have enjoyed this post about Bit Stuffing In Computer networks.

Please feel free to give your important feedback in the comment section below.

Have a great time! Sayonara!


I am a blogger by passion, a software engineer by profession, a singer by consideration and rest of things that I do is for my destination.