# Flight Computer

**URL:** <https://forums.unrealengine.com/t/flight-computer/151243>\
**Category:** UE Marketplace\
**Tags:** unreal-engine\
**Created:** [September 26, 2020, 1:23pm UTC](https://forums.unrealengine.com/t/flight-computer/151243 "2020-09-26T13:23:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![McGillivrayGames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@McGillivrayGames](https://forums.unrealengine.com/u/McGillivrayGames)\
**Post date:** [September 26, 2020, 1:23pm UTC](https://forums.unrealengine.com/t/flight-computer/151243/1 "2020-09-26T13:23:50Z")

</div>

![Thumbnail_FlightComputer.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/c/1/c1f3d2d7bee2e260d45e89ae9b90cea641d4ea96.jpeg)  
_ **Support page** _

Welcome to the support page for the **Flight Computer** , where you can ask any support questions or feature requests for future updates.

Thank You

---

<div class="post-metadata">

**Author:** ![McGillivrayGames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@McGillivrayGames](https://forums.unrealengine.com/u/McGillivrayGames)\
**Post date:** [September 26, 2020, 2:10pm UTC](https://forums.unrealengine.com/t/flight-computer/151243/2 "2020-09-26T14:10:06Z")

</div>

The real-world formulas used for the Flight Computer computations.

**Altitude:**

AGL = Above Ground Level (Ft)  
IA = Indicated Altitude (Ft)  
GE = Ground Elevation (Ft)  
PA = Pressure Altitude (Ft)  
DA = Density Altitude (Ft)  
BP = Barometric Pressure (Hg)  
OAT = Outside Air Temperature (Deg. (C)/(F))  
ST = Standard Temperature (Deg. (C))  
P = Pressure (Pascals)  
Tv = Virtual Temperature (K)

- AGL = IA – GE
- Conventional = PA = IA + ((29.92 - BP) \* 1000)
- Scientific = PA = IA + (145,442.16 \* (1 - ((BP/29.9213) Power(0.190263))))
- Conventional = DA = PA + (120 \* (OAT – ST))
- Scientific = DA = 3280.84 \* (44.3308 – (11.1802 \* ((P / Tv) Power (0.234969))))

[HR][/HR]  
**Airspeed:**

TAS = True Airspeed (Relative)  
CAS = Calibrated Airspeed (Relative)  
DR = Relative Density (Ratio)  
Vs = Speed of Sound (Knots)  
T = Temperature (K)  
MN = Mach Number

- TAS = CAS / (Sqrt (DR))
- Vs = 643.855 \* ((T / 273.15) Power (0.5))
- MN = TAS / Vs

[HR][/HR]  
**Fuel:**

[SIZE=14px]FR = Fuel Rate (Relative/Per Hour)  
TF = Total Fuel (Relative)  
FE = Fuel Endurance (Min)[/SIZE]

- FR = TF / (FE / 60)
- FE = (TF / FR) \* 60
- TF = FR \* (FE / 60)

[HR][/HR]  
**Speed, Time, and Distance:**

Gs = Groundspeed (Relative/Per Hour)  
Tm = Total Time (Min)  
Dis = Distance (Relative)

- Gs = Dis / (Tm / 60)
- Dis = Gs \* (Tm / 60)
- [SIZE=14px]Tm = (Dis / Gs) \* 60[/SIZE]

[HR][/HR]  
**Gliding:**

GD = Glide Distance (Ft)  
GR = Glide Ratio (Ratio)  
HL = Height Loss (Ft)

- GR = GD / HL
- GD = (GR \* HL)/1
- HL = (GD \* 1) / GR

[HR][/HR]  
**Compass and Bearing:**

TH = True Heading (Deg.)  
Var = Variation (+- Deg.)  
MH = Magnetic Heading (Deg.)  
Dev = Deviation (+- Deg.)  
CH = Compass Heading (Deg.)  
RD = Reciprocal Direction (Deg.)  
D = Direction (Deg.)

- CH = (TH +- Var) +- Dev
- RD = D - 180

[HR][/HR]  
**Wind:**

Hw = Headwind Speed (Relative Speed)  
Tw = Tailwind Speed (Relative Speed)  
Ws = Wind Speed (Relative Speed)  
WD = Wind Direction (Deg.)  
Rwy = Runway Heading (Deg.)  
Cw = Crosswind Speed (Relative Speed)  
WCA = Wind Correction Angle (Deg.)  
TC = True Course (Deg.)  
Hdg = Heading (Deg.)  
TAS = True Airspeed (Relative)  
Gs = Groundspeed (Relative/Per Hour)

- Hw = Ws \* cos(WD – Rwy)
- Tw = Ws \* cos(WD – Rwy)
- Cw = Ws \* sin(WD – Rwy)
- WCA = asin((Ws \* sin(WD – TC)) / TAS)
- Hdg = TC + WCA
- Gs = (TAS \* cos(WCA)) - (Ws \* cos(WD – TC))
- Ws = sqrt ((sq(Gs) + sq(TAS)) - (2 \* Gs \* TAS \* cos(TC – Hdg)))
- WD = TC + asin(TAS \* sin(Hdg – TC) / Ws)
- [SIZE=14px]WD = TC - asin(TAS \* sin(Hdg – TC) / Ws) + 180[/SIZE]

​​​​​​​
