How profitable is a pizza shop?

My friend and I are looking to open a pizza place. The location for the most part is already equipped, just missing a few things. But before I hop on the opportunity, I was wondering if anybody knew what we would be looking at for profits. I see a lot of different numbers online about the margins of pizza restaurants. But it’s all unclear as to what is included as an expense to calculate the margins. The shop would be owned by my friend and I. It is a relatively small size, with 6 tables to sit down at. And would also include takeout and delivery. But if a pizza place’s margin is 15%, does that mean that my friend and I would only be able to pay ourselves out of that 15%? Or does that margin include what the owner takes home as a salary?