In most jurisdictions, this is figured by taking the employee's wages plus reported tips for each pay period and dividing them by the employee's clocked hours for that pay period. If that result is not at least actual minimum wage, the employer normally owes the employee the difference.
I don't know if it's a lack of knowledge or actual malicious pay practices (probably some of both), but number of people I meet in the service industry who don't know that last bit and tell me they've never been paid the difference for "dead" shifts (those that generate little to no tips) is staggering.