A *lot* of variables. The best I've done is 32 miles with 4,000 feet of vertical with 1.5 bars left, which I figure about at about 42 miles with 4,200 feet of vertical.
But I only weigh 150 pounds, my bike is way lighter than yours, and has a much smaller motor and I am a fitness rider, so I'm likely to get much greater range even though my battery is smaller.
Yesterday, I got 13.5 miles and 1,200 on the first of five battery bars. So theoretically, even accounting for the fact that we'll likely get a few less miles out of each battery bar (due to their inherent inaccuracy) I could get at least 50-52 miles with 5,000 feet of vertical.
That's a 20 mile and 1,000 feet difference in range! Why such a big spread?
My theory is that the 32-mile ride is just much steeper and has more dirt.
Other things I've found that contribute greatly to range: Tire pressure for sure. For my longer runs, I use tire pressures that are very high by eMTB standards: 50 PSI on a tire rated for 60. That's because I have to ride a lot of asphalt to get to the trail. (By the time I get there, I bet my tire pressure has worn down to about 45 PSI.)
Also: Seat angle. I discovered this by accident: My seat pitched back at one point, just because the bolt was a little loose and I was lazy about getting it back in the right position-- so the front of the seat was angled slightly up. Range was noticeably worse. This week, I adjusted it so it's angled very slightly down, and my pedaling efficiency improved a lot, which helps improve range.
There are other theories, too: If you stop frequently, allowing the battery to rest, some riders report better range. This seems about right to me-- I seem to get better range if I stop more often, and anyway, stopping is NOT optional on some of the routes I take, or not at 64 years old, anyway!