Given: V = 0.5 dm3 = 0.5 × 10-3 m3 , P = 101.325 kPa = 101.325 × 103 Pa = 101.325 × 103 Nm-2
T = 27 °C = 27 + 273.15 K = 300.15 K, R = 8.314 J K-1 mol-1
To find: n = number of moles of gas
Formula: PV = nRT
Calculation: According to ideal gas equation,

The number of moles of hydrogen gas present in the given volume is 0.020 moles.