Leaving aside bookmaker margins (overrounds) as you suggest, throughout; we may take that the total probabilities implied by the odds for a collection of events$^\dagger$ are 1.
First let me introduce odds in the sense statisticians use the term:
If $p$ is the probability of an event, then
$$\text{Odds of the event} = \frac{p}{1-p}\,.$$
Statisticians use this definition quite widely, and often use the natural logarithm of such odds in statistical models. (I introduce this because if you go searching statistical pages on the relationship between odds and probability, this is usually going to be the thing you'll encounter.)
This corresponds to "odds for" the event; typically gambling odds (at least as far as I am used to the term) are "odds against" $(1-p)/p = \frac{1}{p} - 1$; this would correspond to what Wikipedia calls "Fractional odds".
However, decimal odds are different again (representing total payout on a 1 unit bet, rather than what is returned above the original unit stake), essentially that drops off the "-1" from the fractional odds.
Let $d$ be this ratio (d for decimal). We therefore have:
$$d = \frac{1}{p}\,.$$
This equation converts $p$, the implied probability to decimal odds.
And to go back the other way, therefore, we have
$$p = \frac{1}{d}\,.$$
Example 1: if the decimal odds are $5$, that implies a probability of $\frac{1}{5}$ (the mathematical odds would be $\frac14$ and the fractional odds against would be $4$ i.e. 4 to 1).
Example 2: if the implied probability is $0.4$ the decimal odds will be $1/0.4 = 2.5$, the mathematical odds would be $\frac23$ and the fractional odds against are $0.6/0.4 = 1.5$ i.e. 6 to 4.
$\dagger$ (a set of mutually exclusive, exhaustive events)