You'll need an O2 sensor to back-calculate... some cars run slightly rich or slightly lean at idle... so you can't always tell from displacement and rpms.

The only really accurate way is to actually test it with a flow-meter attached to your fuel line.