Well, first, a light year isn’t a measure of speed, it’s a measure of distance.
I suppose it’s worth mentioning, second, that warp speed isn’t a real thing. It’s a speed scale taken from fiction (primarily Star Trek) and has no actual scientific basis.
The warp scale in Star Trek has changed a bit over the years, primarily starting with TNG.
In the original scale, the speed was basically w3c
, where w is the warp factor and c is the speed of light. Warp 1 is the speed of light, warp 2 is eight times the speed of light, and so on. The new system is similar, though it increases slightly faster, and between warp 9 and warp 10, the speed goes to infinity (with warp 10 being theoretically unreachable—so naturally, there are episodes where they somehow manage to go faster than that).
Warp Speed Calculator
Warp Speed Calculator