This question already has an answer here:
I am a Canadian citizen w/ a Canadian passport.
I went on a student visitor visa from September 11 2014 to December 17 2014. I'm returning on May 2 and leaving July 30 of this year as a tourist. How long am I able to visit the UK within a 365 day period? Does the fact that there is a period of time between my visits change anything?
I know I'm only allowed to stay as a general visitor/tourist for 6 months at a time. But as these two separate trips total just over 6 months, I am concerned that I will not be allowed to stay this long.