pfml insurance

I am having difficulty setting up a deduction in payroll for pfml insurance. Its a percentage and not just a flat amount. the gross amount less pension, health insurance, dental.it should approximate the PFML tax for Mass but its less.