A stacked cell for a flow cell battery is presented. The stacked cell is sealed by a gasket between individual components. The gasket is formed such that it seals against leakage of electrolytes and facilitates the flow of electrolytes through the stacked cell. Further, the gasket is formed to minimize the linear expansion of the gasket material with temperature.