Tracking Consultants Pay and Bill

Tracking Consultants Pay and Bill

When you hire someone for a contract position. Is there a way to add and track, pay and bill? Example - Mike Smith - Pay $23 an hour - Bill $40 an hour. and then have the system do the math $17 an hour spread. Is this possible?