Prime cost is the direct cost incurred during production. Royalty is paid on production basis and on sales basis. If it is paid on production basis then it is considered direct expense (prime cost) and debited to Trading Account