Ad platforms usually calculate it as three-second video plays divided by impressions. Organic creators read the same idea off their retention graph: how much of the audience is still there at the three-second mark.
Hook rate measures the opening, not the whole video. A high hook rate with poor completion usually means the hook promised something the video did not deliver quickly enough.
Because it can only be measured after posting, creators who want a read before posting compare hook options in other ways, from asking peers to running paid split tests to testing the lines against a synthetic audience.