Pingdom Home

US + international: +1-212-796-6890

SE + international: +46-21-480-0920

Business hours 3 am-11:30 am EST (Mon-Fri).

Do you know if your website is up right now? We do! LEARN MORE

Useful Wolfram Alpha tips for webmasters and sysadmins

The newly released Wolfram Alpha is a great tool for doing calculations and data conversions, and it also has a significant amount of data that you can play around with. This post is about how webmasters and sysadmins can benefit from this new service.

So if you’re a webmaster or sysadmin (or just an Internet geek), let Wolfram Alpha’s two supercomputers do some work for you and make your life a bit easier.

Let’s get started with the tips:

(To save some typing, we’ll often refer to Wolfram Alpha as “WA” in this article. Also note that while we enter the queries within quotes, that is just done to separate the query text. In other words, leave the quotes out when you use WA.)

Calculate data transfer time

Are you about to transfer a large file over a network but are unsure about how long it might take? Wolfram Alpha makes it easy to calculate data transfer times.

For example, say you’re about to move a 5 GB file to another computer on your 100 mbit/s network. Just ask Wolfram Alpha this: “time to transfer 5 GB over 100 mbit/s”

You can also use WA to quickly figure out how much bandwith you need to transfer for example 10 MB in 5 seconds: “10 mb in 5 seconds”

Bonus tip: Just enter “data transfer time” into WA and you’ll get access to a little tool that lets you calculate various aspects of data transfer times.

Get data transfer rate for a network connection

Say you’re sitting behind a 24 mbit/s Internet connection. How many MB/s is that? Just ask WA: “24 mbps in MB”

Side note: WA understands mpbs and mbit/s to be the same thing. It also understands kbps and kbit/s. However, using “gbps” doesn’t work, but gbit/s does. A bit inconsistent, yes, but we assume that this is just an oversight and will be fixed down the line.

Convert between uptime and downtime

If a website has a 99.4% uptime on average, how many hours of downtime is that in a year? We would like to be able to just enter “99.4% uptime”, but WA doesn’t (yet) understand that. (We’ve sent the Wolfram Alpha team a suggestion about this.)

So, until WA properly understands what “uptime” is, you can use this query to calculate downtime based on uptime percentages: “(1 – 99.4%) * hours in a year”

You can of course also use “hours in a month” to get the monthly value instead.

And just as WA doesn’t understand “uptime”, it doesn’t understand “downtime” either. So, again, if you want to calculate the uptime percentage based on the downtime, you need to use a workaround. It’s a bit trickier than the last one. Here is how to find out the uptime percentage that corresponds to 5 hours of downtime in a year: “100 * (1 – (5 hours/year))”

If you deal a lot with uptime and downtime conversions, you might also like to check out our uptime/downtime conversion sheet. It’s easier, at least for now.

Find out best-case ping times between locations

Want to find out the best-case latency between point A and B? For example, across the Atlantic between New York and London: “ping New York to London”

(Be careful to read the note below the screenshot.)

NOTE: WA doesn’t really understand “ping” correctly. A network ping is supposed to be the roundtrip value, while WA only shows the one-way trip. In other words, you need to double the value you get. Use the “light in fiber” number and double it.

Also keep in mind that a real-world ping will hop through at least a few different routers on the way. The route it takes will seldom be anywhere near a straight line. Still, it’s good to know what the theoretical best-case latency is (no use trying to get faster than that, right?). We’ve written extensively about this in the past (Theoretical vs. real-world speed limit of Ping).

Bonus tip: Since WA is aware of your current location, you can just enter “ping London” and it will do the above calculation between London and your current location.

Convert between different units (MB, GB, TB, Kbps, Mbps, etc)

Although it’s pretty easy to convert between MB, KB, etc, it’s even easier with WA. Just type in, for example, “4 TB in MB”.

You can convert between transfer speeds in the same way, for example between kbps and mbps.

Although you can do that in your head, the nice thing is that you almost always get additional information from WA even for such a simple query (just try the query above to see what we mean).

Find out the local time anywhere (for maintenance)

Knowing the local time in other time zones can often be useful to a webmaster, for example if you plan on doing maintenance that will interrupt your service, especially if your site or service has a global audience.

Just entering “now” or “time” will give you local time and some additional information about your own location. “Time in New York” will give you the current time in New York.

Again, since WA is aware of your location, the query also shows the time difference between where you are and the place you’re asking about the time for. In the example above, the time in New York is shown relative to the time here in Västerås, Sweden, where Pingdom has its main office.

To get the current time for several locations at once, just enter a list of locations, e.g. “Los Angeles, New York, London”. You’ll get plenty of other information as well, but scroll down a little bit and you’ll see the local times for the different locations in the list.

If you want to know what time it will be five hours from now in New Zealand, just enter “5 hours from now in New Zealand” (very hard to figure out, wasn’t it? ;) ).

You can even do something like “sunrise tomorrow Los Angeles” to get the time for that.

More useful tips?

Hopefully you found these tips useful. We encourage you to experiment with Wolfram Alpha on your own as well. On top of being useful, it can be a lot of fun!

Do you have other useful webmaster or sysadmin-related Wolfram Alpha calculations and tricks to share? Please do so in the comments!



6 comments
egal
egal

Why people is so negative with a great tool that as said on the main page is a project in continuos development and free? I guess all these people have done better things than WA, and it is far beyond to the toy calculations Google can do. Try an integral in Google, or just 2^2^2^2^2 to see what comes up. Btw to the one making the comment: works: distance from mars to the sun does NOT work: distance to mars from the sun Now both work properly.

Adrian B
Adrian B

Did WA's response time improved? If it still is as slow as it was when I tried it, it would be faster if you just do the calculations in Windows Calculator.

Chris
Chris

Google has already been able to do most of this for a while now. http://www.google.com/search?q=5+gigabytes+%2F+100+megabits%2Fsec http://www.google.com/search?q=10+megabytes+%2F+5+seconds+in+megabits%2Fsec http://www.google.com/search?q=24+megabits+in+megabytes http://www.google.com/search?q=0.6%25+of+a+year http://www.google.com/search?q=5+hours%2Fyear+in+percent http://www.google.com/search?q=4+terabytes+in+megabytes http://www.google.com/search?q=time+in+new+york

Pingdom
Pingdom

@Chris: Good point. On the other hand, while you can do many of the calculations in Google, IMHO Wolfram Alpha presents the results in a much better way (and with lots of bonus calculations thrown in).

_ck_
_ck_

I was really excited about Wolfram Alpha when they did that amazing demo video but when it went live I suddenly realized how carefully scripted that demo was, showing only questions they knew it could answer. There are SO many simple relationships it doesn't understand, ie. works: distance from mars to the sun does NOT work: distance to mars from the sun What's up with that? If it can't understand that simple reversal, there are so many variations it can never determine even though it "knows" the answer.

Pingdom
Pingdom

@_ck_ You have a point there. The parsing of the input could definitely use improvement, but to be fair, this is a product that JUST launched. There is most likely a ton of development work going on behind the scenes as we speak, reacting to the user feedback the service has received. Speaking of user feedback: Wolfram Alpha has a feedback box at the bottom of every page. Help them out and let them know about the "quirks" or errors you find, or functions you wish they had (like we did with uptime/downtime conversion). You can even do so anonymously if you prefer that.

Trackbacks

  1. [...] Useful Wolfram Alpha tips for webmasters and sysadmins Calculate data transfer time, Get data transfer rate for a network connection, Convert between uptime and downtime, Find out best-case ping times between locations, Convert between different units (MB, GB, TB, Kbps, Mbps, etc), Find out the local time anywhere. (tags: conversion reference tools searchengine) [...]