401K Safe Harbor

Does anyone use a formula to calculate the matching for a Safe Harbor plan? We are changing our plan type and I would LOVE to not have to do the math for the IRS mandated matching for Safe Harbor.