Let's say the spread is 3 pips. So I counted it twice for both legs of the trade: in and out. So 6 pips.
This is incorrect.
If the spread is 3 pips, then the bid and the ask are each 1.5 pips distant from the "middle price" you see on your chart (unless you've deliberately configured it differently, which is possible with some spot forex brokers).
That means you're effectively losing 1.5 pips (compared with the mid-price) when you open a position and another 1.5 pips (compared with the mid-price) when you close it, or a total of 3 pips in spread
on the round-trip, not on each individual opening/closing transaction.
The above explanation excludes requotes and assumes that the spread remains constant for the duration of your trade.
There's no such thing as "slippage",
per se, when you're dealing with (actually "against") a retail forex broker, as no currencies are actually changing hands and no trade is being executed in an underlying market: you're just having a side-bet with your "broker", who is actually your counterparty.
"Slippage", strictly speaking, applies only to genuine brokerage situations
in which your broker is executing trades on your behalf in a market to which you don't yourself have access (e.g. in this instance it would be the interbank market) but that
isn't typically the case, at all, with retail forex "brokers". And the fact that you're asking about "spreads" rather than "commissions" illustrates that it isn't the case for you.
The key concept is that they're not really "brokers" at all: they just call themselves that, quite legally, to make it appear to the uninitiated that they're trading "on your behalf" while in actuality you're simply betting
against them.