As a general rule, you'll burn more calories per minute on a bike and more calories per mile on foot. There may be extremities where this doesn't hold true (riding hard on a rusty old clunker will probably burn more calories than a slow saunter on foot where you only cover a mile or so in an hour) but for most practical purposes it will be accurate.