"when you get right down to it" is an idiom meaning "all things considered"
e.g. "When you get right down to it, a human being is not a physical entity. A human being is a piece of software. Body cells are constantly dying and being replaced."
Is there a set phrase or idiom which conveys the same in Portuguese?