i think the only way to be accurate, is to go by hours on a trainer. Miles will be off...plus on a trainer you dont deal with the weight load you deal with as a moving object on the road. You can emulate that resistance, but it's not the same.
at least to me:
road = miles
trainer = hours