The costs that do not appear on a payslip
Comparing a salary against a contractor fee understates the employee every time, because an employee carries employer contributions, benefits, equipment, a workspace and paid leave. A contractor invoices for the months they work and nothing else.
Loading those on-costs is what makes the comparison honest. Use your own payroll figures rather than a general percentage, since the proportion varies with what you provide.