I use https://www.splitwise.com/ for this. Works well for everything from big expenses to burgers. Use it in my flat too.