Volt Watt Ampere Conversion
.calc-header {
margin-bottom: 30px;
padding: 25px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 12px;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
color: white;
}
.calc-header h2 {
margin-top: 0;
color: white;
font-size: 28px;
margin-bottom: 10px;
}
.calc-header p {
margin: 10px 0;
opacity: 0.95;
font-size: 15px;
}
.input-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 15px;
margin-top: 20px;
}
.input-group {
display: flex;
flex-direction: column;
}
.input-group label {
margin-bottom: 8px;
font-weight: 600;
color: rgba(255,255,255,0.95);
font-size: 14px;
}
.input-group input {
padding: 14px;
font-size: 16px;
border: 2px solid rgba(255,255,255,0.3);
border-radius: 6px;
font-family: 'Courier New', monospace;
background: rgba(255,255,255,0.95);
transition: all 0.3s ease;
}
.input-group input:focus {
outline: none;
border-color: #4CAF50;
background: white;
box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}
.button-container {
margin-top: 20px;
display: flex;
justify-content: center;
}
.calc-button {
padding: 14px 35px;
font-size: 16px;
background: #4CAF50;
color: white;
border: none;
border-radius: 6px;
cursor: pointer;
font-weight: bold;
transition: all 0.3s ease;
box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.calc-button:hover {
background: #45a049;
transform: translateY(-1px);
box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
.calc-button:active {
background: #3d8b40;
transform: translateY(0);
}
.result-section {
background: white;
border: 1px solid #e0e0e0;
border-radius: 8px;
margin-top: 30px;
overflow: hidden;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
transition: all 0.3s ease;
}
.result-section:hover {
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.section-header {
background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
color: white;
padding: 15px 20px;
font-size: 18px;
font-weight: bold;
}
.section-content {
padding: 20px;
background: #fafafa;
}
.result-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 15px;
}
.data-row {
display: flex;
flex-direction: column;
padding: 15px;
background: white;
border-radius: 6px;
border-left: 4px solid #4CAF50;
box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.data-label {
font-weight: bold;
color: #555;
font-size: 14px;
margin-bottom: 8px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.data-value {
color: #333;
font-family: 'Courier New', monospace;
font-size: 24px;
font-weight: bold;
color: #4CAF50;
}
.help-text {
margin-top: 15px;
font-size: 14px;
color: rgba(255,255,255,0.9);
background: rgba(0,0,0,0.1);
padding: 10px 15px;
border-radius: 4px;
}
.help-text strong {
color: white;
}
.formula-info {
margin-top: 20px;
padding: 15px;
background: #e3f2fd;
color: #1565c0;
border-radius: 8px;
border-left: 4px solid #2196F3;
font-size: 14px;
line-height: 1.6;
}
.formula-info strong {
color: #0d47a1;
}
.checkbox-group {
margin-top: 15px;
display: flex;
align-items: center;
gap: 10px;
background: rgba(0,0,0,0.1);
padding: 12px 15px;
border-radius: 6px;
}
.checkbox-group input[type="checkbox"] {
width: 20px;
height: 20px;
cursor: pointer;
accent-color: #4CAF50;
}
.checkbox-group label {
margin-bottom: 0;
cursor: pointer;
font-size: 15px;
user-select: none;
}
.phase-indicator {
display: inline-block;
padding: 4px 12px;
background: #4CAF50;
color: white;
border-radius: 4px;
font-size: 13px;
font-weight: bold;
margin-left: 10px;
}
/* Responsive design */
@media (max-width: 768px) {
.input-grid,
.result-grid {
grid-template-columns: 1fr;
}
.calc-header h2 {
font-size: 24px;
}
.data-value {
font-size: 20px;
}
}
伏瓦特安培转换计算器
计算电压、瓦数和安培数之间的电功率关系。输入任意两个值来计算第三个值。
使用方法:输入任意两个值(电压、瓦数或安培数),然后单击“计算”以查找第三个值。检查三相框以进行三相功率计算。
计算结果单相
电压计算:
-
功率计算:
-
电流强度计算:
-
使用的公式(单相):
电压 (V) = 瓦数 (W) / 安培数 (A)
功率 (W) = 电压 (V) × 安培数 (A)
安培数 (A) = 瓦数 (W) / 电压 (V)
电压 (V) = 瓦数 (W) / 安培数 (A)
功率 (W) = 电压 (V) × 安培数 (A)
安培数 (A) = 瓦数 (W) / 电压 (V)