Self employed

Even if your Net Profit was 21,000 (61,000-40,000) the SE Tax would only be about $3,000.  But if you owe more than 1,000 total tax you probably have a underpayment penalty.  So how much is on every line?