PORTLAND, Ore. — Ask a bartender exactly how much profit was collected from that pint of beer you just drank, and the answer is likely to be as murky as a barrel-aged bourbon stout. The economics of alcohol, like the calorie count, are usually about the last things purveyors want their customers focused on.

But now a new generation of beer halls dedicated to something beyond the cash register is cropping up around the nation and the world, with proceeds going not into an owner’s wallet but to charity, and bending elbows may never be the same.

“More people will want to support your business than if you’re just doing it to pay for your second home,” said Ryan Saari, a minister and a board member of the Oregon Public House, which is preparing to open here as soon as next month in a residential neighborhood, pledged by its charter to donating all profits to charity.

The place already has a slogan outside on the century-old red brick facade, “Have a pint, change the world,” and a painting on the back wall of St. Nicholas, the patron saint of giving.