"You got that right" is an expression used to acknowledge someone's statement or deed. It stands for "You are correct" or "You are right".
Person A: So it's really not butter?!
Person B: You got that right!
Person A: Well, I think we'll have to stick to the old plan...
Person B: You got that right!
48👍 15👎