Expect somewhere between 8 and 11 hours for the main story, depending on how much you wander off the critical path.
The number undersells the game, though. Riddler challenges and the challenge maps add a substantial amount of extra content — completionists routinely double that playtime. If you only care about the campaign, the lower end of the range is realistic.