Is the neighbor kid who mows your lawn considered an employee? And so on ... there are hundreds of judgment calls like this in US tax code. Open source doesn't help with this. The tax tables themselves are simple and easily available. https://www.irs.gov/filing/federal-income-tax-rates-and-brac...