To end a standard Assured Shorthold Tenancy agreement you normally need to give one months notice. This notice must expire at the end of the rent period. This means if your rent is due on 5th of the month you would need to give notice before the 5th to expire on 4th of the previous month.
For free help and advice on this subject please do not hesitate to get in touch.