# Decoding squawk codes

**URL:** <https://discussions.flightaware.com/t/decoding-squawk-codes/16386>\
**Category:** ADS-B Flight Tracking\
**Created:** [March 20, 2015, 4:34pm UTC](https://discussions.flightaware.com/t/decoding-squawk-codes/16386 "2015-03-20T16:34:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![clipsnotebook](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/clipsnotebook/32/10750_2.png) [@clipsnotebook](https://discussions.flightaware.com/u/clipsnotebook)\
**Post date:** [March 20, 2015, 4:34pm UTC](https://discussions.flightaware.com/t/decoding-squawk-codes/16386/1 "2015-03-20T16:34:08Z")

</div>

What do the gurus recommend I use to decode squawk codes on my windows machine? I want to use the output from virtualradar and decode the squawk codes.

---

<div class="post-metadata">

**Author:** ![bovineone](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/bovineone/32/117631_2.png) [@bovineone](https://discussions.flightaware.com/u/bovineone)\
**Post date:** [March 23, 2015, 10:45pm UTC](https://discussions.flightaware.com/t/decoding-squawk-codes/16386/2 "2015-03-23T22:45:48Z")

</div>

Using the word “decode” is a little misleading. Squawk codes do not really “encode” anything other than providing ATC with an arbitrary and temporary identifier, or the VFR/emergency status of the flight if not being tracked.

---

<div class="post-metadata">

**Author:** ![clipsnotebook](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/clipsnotebook/32/10750_2.png) [@clipsnotebook](https://discussions.flightaware.com/u/clipsnotebook)\
**Post date:** [March 24, 2015, 2:34am UTC](https://discussions.flightaware.com/t/decoding-squawk-codes/16386/3 "2015-03-24T02:34:45Z")

</div>

Thank you. I am assuming that these random codes do transmit some information about the state of the aircraft, or am I completely off?

---

<div class="post-metadata">

**Author:** ![bovineone](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/bovineone/32/117631_2.png) [@bovineone](https://discussions.flightaware.com/u/bovineone)\
**Post date:** [March 24, 2015, 5:48am UTC](https://discussions.flightaware.com/t/decoding-squawk-codes/16386/4 "2015-03-24T05:48:08Z")

</div>

If the plane is on a flight plan or talking to ATC (air traffic control), then they will be told to squawk a unique code that is not being used by any other planes in that sector. The specific value of the squawk code is mostly meaningless. A plane will probably not get the same squawk code even if they repeated the same flight, since it is just the next available code at the time. For allocation purposes, there are blocks of numbers given for local flights or longer-distance flights. A flight sometimes may be required to change squawk codes as they are passed between controllers, or the flight gets additional clearance ahead, or if the old squawk code was already in use by another plane in the sector it is about to fly into.

When the plane is flying VFR and not talking to ATC, then it will generally just be squawking the standard code 1200. There are other values in the case of an emergency, radio failure, or hijack but those conditions don’t happen very frequently.

There are some official assignments for special meanings, but in general those meanings were just bureaucratic decision making with overly optimistic intentions that don’t get used outside of a very small district. [https://en.wikipedia.org/wiki/Transponder\_(aeronautics)#Code\_assignments](https://en.wikipedia.org/wiki/Transponder_(aeronautics)#Code_assignments)
