The calculation of the percentage of direct costs involves a simple formula: Percentage of Direct Costs = (Total Direct Costs / Total Costs) x 100 For example, if a company has total direct costs of $50,000 and total costs of $100,000, the percentage of direct costs would be: Percentage of Direct Costs = ($50,000 / $100,000) x 100 = 50%