Royalty calculations