This is not a simple question, it depends on the cable, antenna, losses etc.
In general use high quality cable twitch correct ohms for extension and keep as short as possible.
Much better to move the router and keep antenna cable short if possible.
Someone else may do the maths for you :)