To calculate the size of the title in the nav bar, you'll just need to following.
NSDictionary *attributes = [self.navigationController.navigationBar titleTextAttributes];
CGSize titleSize = [self.title sizeWithAttributes:attributes];
Now you can use the size of the title and the size of the buttons to calculate the width of the fixed space.