Business expenses vs. qualified business expense

For a small business, how can we calculate which scenario leads to paying the least amount of federal income tax:

 

A) taking all of our business expenses as deductions; 

 

or

 

B) having a higher qualified business deduction?

 

HELP! (thanks)