VOOZH about

URL: https://www.geeksforgeeks.org/dsa/wind-chill-factorwcf-or-wind-chill-indexwci/

⇱ Wind Chill Factor(WCF) or Wind Chill Index(WCI) - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Wind Chill Factor(WCF) or Wind Chill Index(WCI)

Last Updated : 23 Jul, 2025

Wind Chill Factor (WCF) or Wind Chill Index (WCI) is a meteorological concept that quantifies the cooling effect of the wind on the perceived temperature. It represents the apparent temperature felt by the human body when exposed to both cold temperatures and wind. In essence, the Wind Chill Factor takes into account not only the actual air temperature but also the impact of wind speed on the rate of heat loss from the body.

Examples:

Input: temperature=50, windSpeed=100
Output: 62
Explanation: 13.12 + 0.6215 * (50) - 11.37 * (100)^0.16 + 0.3965 * (50) *(100)^0.16

Input: temperature=25, windSpeed=120
Output: 26
Explanation: 13.12 + 0.6215 * (25) - 11.37 * (120)^0.16 + 0.3965 * (25) *(120)^0.16

Formula:

WCI = 13.12 + 0.6215 * (temperature) - 11.37 * (windSpeed)^0.16 + 0.3965 * (temperature) *(windSpeed)^0.16

Step-by-step algorithm:

  • Define a function, say calculateWCI that takes two parameters - temperature and windSpeed - and calculates the Wind Chill Index using the above formula.
  • Calculate the Wind Chill Index using the calculateWCI function and round off the result to the nearest integer.

Below is the implementation of the approach:


Output
The Wind Chill Index is 62

Time Complexity: O(1)
Auxiliary Space: O(1)

Related Article:Calculating Wind Chill Factor(WCF) or Wind Chill Index(WCI) in Python

Comment