I looked at your question again and have concluded you are mixing apples with zebras.
Fire flow versus sprinkler demand are two completely different design criteria. Fire flow is based on the type of construction and the building area. It was calculated using very empirical formulas that were formulated by the Insurance Service Office in the 1950s. Basically fire flow is an estimation of how much water does one need to control a fire in a building that is not equipped with sprinklers.
Since your question indicated that the IFC is being applied, open your book and turn to page 394 (06 edition). Assume a 50,000 square foot building of Type V-A (combustible with no fire resistance) construction. The prescribed fire flow is 2,750 GPM @ 20 PSIG residual pressure for 2 hours.
Let us assume that the owner equips this same 50,000 square foot building with a NFPA 13 compliant automatic sprinkler system. I will further assume the ceiling height is less than 14 feet and that the owner will not store hazardous materials, flammable or combustible liquids, or other high challenge commodities. The assumed building will house a hair care products retail outlet. Based on this I would most likely classify the building as an Ordinary Hazard Group II occupancy using the requirements in Chapter 5 of NFPA 13.
NFPA 13 states that for an Ordinary Hazard Group II design, a minimum discharge density of 0.19 GPM/square foot over a 1,500 square foot design area is required. This equals a sprinkler demand of 285 GPM.
IFC section B105.2 in the 2006 edition states in the exception that the fire flow can be reduced by 75% but must not be less than 1,500 GPM @ 20 PSI.
So your minimum fire flow will be based on the building area, construction type and if the building is or is not equipped with a NFPA 13 compliant automatic sprinkler system. Regardless, the IFC correctly gives you a great deal of credit if the building is sprinklered. Therefore, if the building is sprinklered, your minimum fire flow is 1,500 GPM @ 20 PSI. If it is not sprinklered the fire flow is 2,750 GPM @ 20 PSI.
Your sprinkler demand question cannot be answered without more information because its design is based on storage height, commodity, roof height and the like. See Chapter 5 of NFPA 13.
I apologize for my first answer. I should have gone to bed rather than provide a more comprehensive response to the question as I have now done.