Clock Formula - if time is given in the format HH:MM:SS and you have to find the exact angle between hour hand & minute hand then use the following formula - angle = 30*h - 11*m/2 - 11*s/120 Now Case 1 : if magnitude of angle >= 180 degree exact angle between hour hand & minute hand = 360 - (magnitude of angle) degree Case 2 : if magnitude of angle < 180 degree exact angle between hour hand & minute hand = (magnitude of angle) degree Copyright # Chandan Baranwalex - at time 11:05:14 h= 11, m =5, s =14 so, angle = 30*11 - 11*5/2 - 11*14/120 = 301.2166 now angle = 301.2166 > 180 so, exact angle between hour hand & minute hand = 360 - (magnitude of angle) = 360 - 301.2166 = 58.7834 degree