A power transformer secondary voltage will often only be accurate under full load conditions.
Without a load, the voltage will be higher; usually, the lower the transformer power rating, the higher the unloaded voltage will be, proportionally.
That's the "regulation" rating of the transformer.
Having said that, as long as the load is fixed, there should be a consistent ratio between primary and secondary voltage.
eg. A small transformer may give 8V from a "6V" secondary with no load, but increase the primary voltage by 5% and the secondary should also increase by around 5%
A large power transformer may well change by less than 10% from no load to full load.