Home  /  Tools  /  Government Contract Cash-Flow Calculator

Government Contract Cash-Flow Gap Calculator

This calculator sizes the government contract cash flow gap: your money out the door before the agency pays, what a funding partner would advance, and the cost of each structure. It is one of our business loan calculators and pairs with our government contract financing guide.

Written by Select Loan Advisors editorial teamLast reviewed 2026-09-15Editorial policy

Amounts, rates and terms shown are illustrative examples, not an offer or a quote. Select Loan Advisors is not a lender; funding partners set all terms. See how we're compensated.

Why the government contract cash flow gap is more than one invoice

An agency owes payment 30 days after receiving a proper invoice (5 CFR 1315.4); an improper one can be returned within 7 days, restarting the clock. Add days worked before invoicing and construction retainage up to 10% (FAR 52.232-5). Late-payment interest (Treasury) does not make payroll on Friday.

Calculator spec

Field Type Default or range
Contract value Currency
Contract length Months
Monthly burn Currency Payroll and direct costs
Invoice cycle Days 30
Agency payment days Days 30
Retainage Percent 0 to 10
Advance rate Percent 70 to 95
Cash on hand Currency

Monthly billing = Contract value ÷ Contract length

Net invoice = Monthly billing × (1 − Retainage %)

Cash cycle (days) = Invoice cycle + Agency payment days

Working-capital gap = Monthly burn × Cash cycle ÷ 30

Retainage held = Contract value × Retainage %

Peak cash gap = Working-capital gap + Retainage held

Financing need = Peak cash gap − Cash on hand

Advance per invoice = Net invoice × Advance rate

Gap after factoring = Monthly burn × Invoice cycle ÷ 30 + Net invoice × (1 − Advance rate)

Facility size = Advance per invoice × invoices outstanding (payment days ÷ invoice cycle, rounded up)

Outputs: each line above, plus cost by structure.

Worked example: $1.2M contract, 45-day agency payment

Contract $1,200,000 over 12 months; burn $80,000 a month ($60,000 payroll); monthly invoices; agency pays in 45 days; 10% retainage; 85% advance; $50,000 cash on hand.

Line Amount
Monthly billing: $1,200,000 ÷ 12 $100,000
Net invoice (90%) $90,000
Cash cycle 75 days
Working-capital gap: $80,000 × 75 ÷ 30 $200,000
Retainage held: 10% $120,000
Peak cash gap $320,000
Financing need (less $50,000 cash) $270,000
Advance per invoice: $90,000 × 85% $76,500
Gap after factoring: $80,000 + $13,500 $93,500
Facility size (2 invoices out) $153,000

Unfinanced, the contractor carries $200,000 in steady state and $320,000 by month 12, on $50,000 of cash. Factoring cuts the self-funded gap to $93,500.

Cost by structure (illustrative, year one):

Structure Illustrative pricing Year-one cost Setup
Government contract factoring 2% per 30 days on $90,000 invoices, 45 days each 12 × $2,700 = $32,400 (about 28.6% APR-equivalent) Days
Business line of credit, $200,000 12% APR, $150,000 drawn $18,000 interest plus fees 1 to 6 weeks
SBA Contract CAPLine, $200,000 10% variable (ceiling 12.75% at 6.75% prime), $150,000 drawn $15,000 interest plus $4,500 guaranty fee 60 to 90 days

Factoring costs most and starts fastest; a line is cheaper if you can wait.

Assumptions and limits

Burn is level, billing is monthly, every invoice is accepted, retainage is held to completion, and mobilization costs are excluded. Financing assumes an assignment of claims (FAR 32.802). With progress payments, small businesses bill 85% of costs as incurred (FAR 32.501-1); enter those payment days. Related: business loan calculator, line of credit calculator, sba loan calculator.

Sources

Common questions

How do I calculate the cash flow gap on a government contract?

Add the days worked before invoicing to the days the agency takes to pay, multiply monthly burn by that cycle divided by 30, then add retainage held. An $80,000-a-month contract invoiced monthly and paid in 45 days carries a $200,000 gap before retainage.

How long do federal agencies actually take to pay?

The Prompt Payment rule sets a 30-day default from receipt of a proper invoice, with interest owed automatically after that. Review, acceptance and returned invoices stretch many contractors to 40 to 60 days. Enter your own history; 30 is a floor, not a forecast.

Does retainage change what I can finance?

Yes. Funding partners advance against the net invoice, not the gross. At 10% retainage and an 85% advance you receive 76.5% of gross billing on invoice day. Retainage is rarely financeable until released, so it sits in the gap until completion.

Which financing structure is cheapest for a contractor?

Usually an SBA Contract CAPLine or a bank line, if you qualify and can wait one to three months. Government contract factoring costs several times more per year but funds within days without a bank-grade balance sheet. Many contractors factor first, then refinance into a line.

Are the results a loan offer?

No. Every figure is illustrative and depends on what you enter. Select Loan Advisors is not a lender; funding partners set advance rates, fees and terms in a written agreement, which controls. Seeing real options uses a soft credit pull; how business loan brokers work explains the process.

Find out where you stand

Run your real payment history, then see which structures funding partners will offer.

Check My Options →
Soft credit pull to review options. Select Loan Advisors is not a lender.